Skip to content

Commit 3966569

Browse files
authored
Merge pull request #3035 from github/henrymercer/fix-cleanup-info
Only display `cleanup-info` log when relevant
2 parents 4ff91f1 + 75151c2 commit 3966569

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)