Skip to content

Commit 5374053

Browse files
committed
Only display cleanup-info log when relevant
1 parent eef4c44 commit 5374053

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async function run() {
249249
delete process.env.CODEQL_PROXY_CA_CERTIFICATE;
250250
}
251251

252-
if (actionsUtil.getOptionalInput("cleanup-level") !== "") {
252+
if (actionsUtil.getOptionalInput("cleanup-level")) {
253253
logger.info(
254254
"The 'cleanup-level' input is ignored since the CodeQL Action now automatically " +
255255
"manages database cleanup. This input can safely be removed from your workflow.",

0 commit comments

Comments
 (0)