Store diagnostics in memory until the database is available
This commit is contained in:
parent
d4e7b0e493
commit
4b0172d9c2
6 changed files with 119 additions and 36 deletions
3
lib/init-action.js
generated
3
lib/init-action.js
generated
|
|
@ -312,6 +312,9 @@ async function run() {
|
|||
core.exportVariable(key, value);
|
||||
}
|
||||
}
|
||||
// Write diagnostics to the database that we previously stored in memory because the database
|
||||
// did not exist until now.
|
||||
(0, diagnostics_1.flushDiagnostics)(config);
|
||||
core.setOutput("codeql-path", config.codeQLCmd);
|
||||
}
|
||||
catch (unwrappedError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue