Skip to content

Commit 41a3612

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Switch fs/promises imports to fs-extra
1 parent d887ca5 commit 41a3612

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

extensions/ql-vscode/src/variant-analysis/view-autofixes.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,24 @@ import type { Credentials } from "../common/authentication";
1111
import type { NotificationLogger } from "../common/logging";
1212
import type { App } from "../common/app";
1313
import type { CodeQLCliServer } from "../codeql-cli/cli";
14-
import { pathExists, ensureDir, readdir, move, remove } from "fs-extra";
14+
import {
15+
pathExists,
16+
ensureDir,
17+
readdir,
18+
move,
19+
remove,
20+
unlink,
21+
mkdtemp,
22+
readFile,
23+
writeFile,
24+
} from "fs-extra";
1525
import { withProgress, progressUpdate } from "../common/vscode/progress";
1626
import type { ProgressCallback } from "../common/vscode/progress";
1727
import { join, dirname, parse } from "path";
1828
import { tryGetQueryMetadata } from "../codeql-cli/query-metadata";
1929
import { window as Window } from "vscode";
2030
import { pluralize } from "../common/word";
2131
import { readRepoTask } from "./repo-tasks-store";
22-
import { unlink, mkdtemp, readFile, writeFile } from "fs/promises";
2332
import { tmpdir } from "os";
2433
import { spawn } from "child_process";
2534
import type { execFileSync } from "child_process";

0 commit comments

Comments
 (0)