Skip to content

Commit a155079

Browse files
committed
Fixes.
1 parent 82a4923 commit a155079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/config_paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class ApprovedConfigPaths {
7777
}
7878

7979
const allow = "Allow";
80-
const deny = "Don't Allow";
80+
const deny = "Deny";
8181
const result = await vscode.window.showWarningMessage(
8282
`A workspace setting wants to run a custom Deno executable: ${path}`,
8383
allow,

client/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function getDenoCommandPath(approvedPaths: ApprovedConfigPaths) {
4141
// check for approval if using a workspace-configured path
4242
const approved = await approvedPaths.promptForApproval(pathInfo);
4343
if (!approved) {
44-
return undefined;
44+
return await getDefaultDenoCommand();
4545
}
4646

4747
const command = pathInfo?.path;

0 commit comments

Comments
 (0)