Skip to content

Commit 5fb0016

Browse files
authored
Don't throw error if user cancels out of choosing a language (#2365)
When running "Create Query", if the user escapes out of the language quickpick we don't need to throw an error. Instead we can just show a `UserCancellationException` notice.
1 parent f0d41f6 commit 5fb0016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/skeleton-query-wizard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class SkeletonQueryWizard {
141141
maxStep: 3,
142142
});
143143

144-
return await askForLanguage(this.cliServer, false);
144+
return await askForLanguage(this.cliServer, true);
145145
}
146146

147147
private async createQlPack() {

0 commit comments

Comments
 (0)