mirror of
https://github.com/github/codeql-action.git
synced 2026-05-21 09:18:11 +00:00
Only display cleanup-info log when relevant
This commit is contained in:
Generated
+1
-1
@@ -186,7 +186,7 @@ async function run() {
|
||||
delete process.env.CODEQL_PROXY_PORT;
|
||||
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
|
||||
}
|
||||
if (actionsUtil.getOptionalInput("cleanup-level") !== "") {
|
||||
if (actionsUtil.getOptionalInput("cleanup-level")) {
|
||||
logger.info("The 'cleanup-level' input is ignored since the CodeQL Action now automatically " +
|
||||
"manages database cleanup. This input can safely be removed from your workflow.");
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -249,7 +249,7 @@ async function run() {
|
||||
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
|
||||
}
|
||||
|
||||
if (actionsUtil.getOptionalInput("cleanup-level") !== "") {
|
||||
if (actionsUtil.getOptionalInput("cleanup-level")) {
|
||||
logger.info(
|
||||
"The 'cleanup-level' input is ignored since the CodeQL Action now automatically " +
|
||||
"manages database cleanup. This input can safely be removed from your workflow.",
|
||||
|
||||
Reference in New Issue
Block a user