Merge pull request #2106 from github/elena/change-query
Update skeleton query
This commit is contained in:
@@ -72,15 +72,16 @@ export class QlPackGenerator {
|
|||||||
const exampleQl = `
|
const exampleQl = `
|
||||||
/**
|
/**
|
||||||
* This is an automatically generated file
|
* This is an automatically generated file
|
||||||
* @name Empty block
|
* @name Hello world
|
||||||
* @kind problem
|
* @kind problem
|
||||||
* @problem.severity warning
|
* @problem.severity warning
|
||||||
* @id ${this.queryLanguage}/example/empty-block
|
* @id ${this.queryLanguage}/example/hello-world
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import ${this.queryLanguage}
|
import ${this.queryLanguage}
|
||||||
|
|
||||||
select "Hello, world!"
|
from File f
|
||||||
|
select f, "Hello, world!"
|
||||||
`.trim();
|
`.trim();
|
||||||
|
|
||||||
await writeFile(exampleQlFilePath, exampleQl, "utf8");
|
await writeFile(exampleQlFilePath, exampleQl, "utf8");
|
||||||
|
|||||||
Reference in New Issue
Block a user