Skip to content

Commit c4bed4e

Browse files
committed
Simplify example query to make it work with all languages
1 parent 3464cd0 commit c4bed4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extensions/ql-vscode/src/qlpack-generator.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ export class QlPackGenerator {
7171
7272
import ${this.queryLanguage}
7373
74-
from BlockStmt b
75-
where b.getNumStmt() = 0
76-
select b, "This is an empty block."
74+
select "Hello, world!"
7775
`.trim();
7876

7977
await writeFile(exampleQlFile, exampleQl, "utf8");

0 commit comments

Comments
 (0)