Skip to content

Commit 2cb5928

Browse files
committed
Remove unnecessary directory creation that is handled by outputJson
1 parent 2963d7e commit 2cb5928

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

extensions/ql-vscode/src/variant-analysis/variant-analysis-results-manager.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { appendFile, pathExists, mkdir } from "fs-extra";
1+
import { appendFile, pathExists } from "fs-extra";
22
import fetch from "node-fetch";
33
import { EOL } from "os";
44
import { join } from "path";
@@ -78,10 +78,6 @@ export class VariantAnalysisResultsManager extends DisposableObject {
7878
repoTask.repository.fullName,
7979
);
8080

81-
if (!(await pathExists(resultDirectory))) {
82-
await mkdir(resultDirectory, { recursive: true });
83-
}
84-
8581
await writeRepoTask(resultDirectory, repoTask);
8682

8783
const zipFilePath = join(resultDirectory, "results.zip");

0 commit comments

Comments
 (0)