diff --git a/codeql-custom-queries-ruby/example.ql b/codeql-custom-queries-ruby/example.ql index 77eb17f..d086464 100644 --- a/codeql-custom-queries-ruby/example.ql +++ b/codeql-custom-queries-ruby/example.ql @@ -8,5 +8,5 @@ import ruby from Block b -where b.getNumberOfStatements()= 0 -select b, "This is an empty block." \ No newline at end of file +where b.getNumberOfStatements() = 0 +select b, "This is an empty block." diff --git a/codeql-custom-queries-ruby/qlpack.yml b/codeql-custom-queries-ruby/qlpack.yml index 6ce3264..6688658 100644 --- a/codeql-custom-queries-ruby/qlpack.yml +++ b/codeql-custom-queries-ruby/qlpack.yml @@ -4,4 +4,4 @@ version: 0.0.0 dependencies: # This uses the latest version of the codeql/ruby-all library. # You may want to change to a more precise semver string. - codeql/ruby-all: "*" \ No newline at end of file + codeql/ruby-all: "*" diff --git a/vscode-codeql-starter.code-workspace b/vscode-codeql-starter.code-workspace index 62fe54e..618d2bc 100644 --- a/vscode-codeql-starter.code-workspace +++ b/vscode-codeql-starter.code-workspace @@ -18,6 +18,9 @@ { "path": "codeql-custom-queries-python" }, + { + "path": "codeql-custom-queries-ruby" + }, { "path": "codeql-go" },