-
Notifications
You must be signed in to change notification settings - Fork 375
Add option tools: linked
for tools
input of init action.
#2281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
cbe408d
cff15d7
c92bbd4
998a4c7
4522b08
1796f54
bcc1365
df4819e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -493,7 +493,7 @@ export async function tryGetFallbackToolcacheVersion( | |
return fallbackVersion; | ||
} | ||
< 10000 /td> |
|
|
export async function downloadCodeQL( | ||
export const downloadCodeQL = async function ( | ||
codeqlURL: string, | ||
maybeBundleVersion: string | undefined, | ||
maybeCliVersion: string | undefined, | ||
|
@@ -614,7 +614,7 @@ export async function downloadCodeQL( | |
codeqlFolder: toolcachedBundlePath, | ||
toolsDownloadDurationMs, | ||
}; | ||
} | ||
}; | ||
|
||
export function getCodeQLURLVersion(url: string): string { | ||
const match = url.match(/\/codeql-bundle-(.*)\//); | ||
|
@@ -692,7 +692,9 @@ export async function setupCodeQLBundle( | |
logger, | ||
); | ||
|
||
logger.info("Using CodeQL CLI version " + source.toolsVersion + " from " + source.sourceType + "."); | ||
logger.info( | ||
`Using CodeQL CLI version ${source.toolsVersion} from ${source.sourceType}.`, | ||
); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a few routes where we don't actually know the CLI version at this point, for example if the tools were specified using a local path or if an old bundle URL was specified like What do you think about pushing this message into
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I see - I wasn't aware that we actually can be in a position where we don't have all the information. I was hoping that by putting the logging into the I will revise the approach. |
||
|
||
let codeqlFolder: string; | ||
let toolsVersion = source.toolsVersion; | ||
|
Uh oh!
There was an error while loading. Please reload this page.