mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 10:28:52 +00:00
Stop saving config in initConfig()
This commit is contained in:
+4
-4
@@ -681,10 +681,10 @@ async function run() {
|
||||
logUnwrittenDiagnostics();
|
||||
}
|
||||
|
||||
// We may have updated the config returned from `initConfig`, e.g. to revert
|
||||
// to `OverlayDatabaseMode.None` if we failed to download an overlay-base
|
||||
// database. So we save the config again, to ensure that the `analyze` step
|
||||
// reads the correct config.
|
||||
// We save the config here instead of at the end of `initConfig` because we
|
||||
// may have updated the config returned from `initConfig`, e.g. to revert to
|
||||
// `OverlayDatabaseMode.None` if we failed to download an overlay-base
|
||||
// database.
|
||||
await configUtils.saveConfig(config, logger);
|
||||
await sendCompletedStatusReport(
|
||||
startedAt,
|
||||
|
||||
Reference in New Issue
Block a user