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 33
44echo " Check installed CodeQL version"
55CURRENT_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)
77
88BASE_DIR=/home/vscode/codeql-binaries
99mkdir -p " ${BASE_DIR} "
Original file line number Diff line number Diff line change 7575 - uses : actions/checkout@v2
7676 - name : Fetch CodeQL
7777 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)
7979 gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
8080 unzip -q codeql-linux64.zip
8181 env :
@@ -185,7 +185,7 @@ jobs:
185185 - name : Fetch CodeQL
186186 shell : bash
187187 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)
189189 gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql.zip "$LATEST"
190190 unzip -q codeql.zip
191191 env :
Original file line number Diff line number Diff line change 2525
2626 - name : Fetch CodeQL
2727 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)
2929 gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
3030 unzip -q codeql-linux64.zip
3131 env :
Original file line number Diff line number Diff line change 2323
2424 - name : Fetch CodeQL
2525 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)
2727 gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
2828 unzip -q codeql-linux64.zip
2929 env :
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ private import internal.Splitting
99private import internal.Completion
1010
1111/** 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_ {
1513 /** Gets the CFG scope that this scope is nested under, if any. */
1614 final CfgScope getOuterCfgScope ( ) {
1715 exists ( AstNode parent |
You can’t perform that action at this time.
0 commit comments