File tree Expand file tree Collapse file tree 5 files changed +6
-8
lines changed
ql/lib/codeql/ruby/controlflow Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 3
3
4
4
echo " Check installed CodeQL version"
5
5
CURRENT_CODEQL_BIN=$( readlink -e /usr/local/bin/codeql || echo " " )
6
- LATEST=$( gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
6
+ LATEST=$( gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
7
7
8
8
BASE_DIR=/home/vscode/codeql-binaries
9
9
mkdir -p " ${BASE_DIR} "
Original file line number Diff line number Diff line change 75
75
- uses : actions/checkout@v2
76
76
- name : Fetch CodeQL
77
77
run : |
78
- LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
78
+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
79
79
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
80
80
unzip -q codeql-linux64.zip
81
81
env :
@@ -185,7 +185,7 @@ jobs:
185
185
- name : Fetch CodeQL
186
186
shell : bash
187
187
run : |
188
- LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
188
+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
189
189
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql.zip "$LATEST"
190
190
unzip -q codeql.zip
191
191
env :
Original file line number Diff line number Diff line change 25
25
26
26
- name : Fetch CodeQL
27
27
run : |
28
- LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
28
+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
29
29
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
30
30
unzip -q codeql-linux64.zip
31
31
env :
Original file line number Diff line number Diff line change 23
23
24
24
- name : Fetch CodeQL
25
25
run : |
26
- LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
26
+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
27
27
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
28
28
unzip -q codeql-linux64.zip
29
29
env :
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ private import internal.Splitting
9
9
private import internal.Completion
10
10
11
11
/** An AST node with an associated control-flow graph. */
12
- class CfgScope extends Scope {
13
- CfgScope ( ) { this instanceof CfgScope:: Range_ }
14
-
12
+ class CfgScope extends Scope instanceof CfgScope:: Range_ {
15
13
/** Gets the CFG scope that this scope is nested under, if any. */
16
14
final CfgScope getOuterCfgScope ( ) {
17
15
exists ( AstNode parent |
You can’t perform that action at this time.
0 commit comments