Skip to content

Commit 6409e09

Browse files
author
Dave Bartolomeo
committed
Code cleanup
1 parent 8f5611b commit 6409e09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extensions/ql-vscode/src/vscode-tests/cli-integration/sourcemap.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ describe('SourceMap', function() {
5555
const tempDir = path.join(tmpDir.name, 'log-summary');
5656
await fs.ensureDir(tempDir);
5757
const result: Record<string, string> = {};
58-
for (const key in files) {
59-
const srcPath = files[key];
58+
for (const [key, srcPath] of Object.entries(files)) {
6059
const destPath = path.join(tempDir, path.basename(srcPath));
6160
await fs.copy(srcPath, destPath);
6261
result[key] = destPath;

0 commit comments

Comments
 (0)