mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 10:11:28 +00:00
Add log message for !config.dbLocation case
This commit is contained in:
4
lib/entry-points.js
generated
4
lib/entry-points.js
generated
@@ -187002,6 +187002,10 @@ async function uploadFailureInfo(uploadAllAvailableDebugArtifacts, printDebugLog
|
||||
`Failed to clean up database cluster directory ${config.dbLocation}. Details: ${e}`
|
||||
);
|
||||
}
|
||||
} else if (config.dbLocation === void 0) {
|
||||
logger2.debug(
|
||||
"Skipping cleanup of database cluster directory since the configuration does not include a database path."
|
||||
);
|
||||
} else {
|
||||
logger2.debug(
|
||||
"Skipping cleanup of database cluster directory since we are running on a GitHub-hosted runner which will be automatically cleaned up."
|
||||
|
||||
@@ -410,6 +410,10 @@ export async function uploadFailureInfo(
|
||||
`Failed to clean up database cluster directory ${config.dbLocation}. Details: ${e}`,
|
||||
);
|
||||
}
|
||||
} else if (config.dbLocation === undefined) {
|
||||
logger.debug(
|
||||
"Skipping cleanup of database cluster directory since the configuration does not include a database path.",
|
||||
);
|
||||
} else {
|
||||
logger.debug(
|
||||
"Skipping cleanup of database cluster directory since we are running on a GitHub-hosted " +
|
||||
|
||||
Reference in New Issue
Block a user