We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
existsSync
pathExists
1 parent c1a515e commit 108943dCopy full SHA for 108943d
extensions/ql-vscode/src/helpers.ts
@@ -5,7 +5,6 @@ import {
5
ensureDir,
6
writeFile,
7
opendir,
8
- existsSync,
9
} from "fs-extra";
10
import { promise as glob } from "glob-promise";
11
import { load } from "js-yaml";
@@ -291,8 +290,8 @@ export async function prepareCodeTour(): Promise<void> {
291
290
* the prompt to open the workspace)
292
*/
293
if (
294
- existsSync(tutorialWorkspacePath) &&
295
- existsSync(toursFolderPath) &&
+ (await pathExists(tutorialWorkspacePath)) &&
+ (await pathExists(toursFolderPath)) &&
296
!isCodespacesTemplate()
297
) {
298
const answer = await showBinaryChoiceDialog(
0 commit comments