Skip to content

Commit 904bb7a

Browse files
committed
answer can be undefined
1 parent 1eace43 commit 904bb7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/studio.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ export class StudioActions {
354354
await vscode.commands.executeCommand("workbench.action.files.revert", this.uri);
355355
}
356356
if (this.name.toUpperCase().endsWith(".PRJ")) {
357-
// Store the answer
358-
this.projectEditAnswer = answer;
357+
// Store the answer. No answer means "allow the edit".
358+
this.projectEditAnswer = answer ?? "1";
359359
}
360360
}
361361
if (answer) {

0 commit comments

Comments
 (0)