Skip to content

Commit 685c9e9

Browse files
author
Alvaro Muñoz
committed
Bump qlpack versions
1 parent fcc7efb commit 685c9e9

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

ql/lib/codeql/actions/ast/internal/Ast.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ int numberOfLines(string text) { result = max(int i | exists(text.splitAt("\n",
1111
* Gets the length of each line in the StringValue .
1212
*/
1313
bindingset[text]
14-
int lineLength(string text, int i) {
15-
i in [0 .. numberOfLines(text)] and
16-
result = text.splitAt("\n", i).length() + 1
17-
}
14+
int lineLength(string text, int i) { result = text.splitAt("\n", i).length() + 1 }
1815

1916
/**
2017
* Gets the sum of the length of the lines up to the given index.

ql/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
library: true
33
warnOnImplicitThis: true
44
name: github/actions-all
5-
version: 0.1.80
5+
version: 0.1.81
66
dependencies:
77
codeql/util: ^1.0.1
88
codeql/yaml: ^1.0.1

ql/src/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
library: false
33
name: github/actions-queries
4-
version: 0.1.80
4+
version: 0.1.81
55
groups: [actions, queries]
66
suites: codeql-suites
77
extractor: javascript

0 commit comments

Comments
 (0)