Skip to content

Commit a72b22c

Browse files
Change error message
Co-Authored-By: jcreedcmu <jcreed@gmail.com>
1 parent 3d8843f commit a72b22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/run-queries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ async function determineSelectedQuery(selectedResourceUri: vscode.Uri | undefine
337337
const queryPath = queryUri.fsPath || '';
338338

339339
if (!queryPath.endsWith('.ql')) {
340-
throw new Error('The selected resource is not a QL file.');
340+
throw new Error('The selected resource is not a CodeQL query file; It should have the extension ".ql".');
341341
}
342342

343343
// Whether we chose the file from the active editor or from a context menu,

0 commit comments

Comments
 (0)