diff --git a/dist/index.js b/dist/index.js index 0a9a0bf..11cd8ec 100644 --- a/dist/index.js +++ b/dist/index.js @@ -53211,7 +53211,7 @@ async function execSilent(label, cmd, args, opts) { ignoreReturnCode: true, }); if (out.exitCode !== 0) { - if (!core.isDebug) { + if (!core.isDebug()) { // When debug logging is off, stderr won't have been written to console, write it now. process.stderr.write(out.stderr); } diff --git a/src/main.ts b/src/main.ts index e2bb739..4dd0cce 100644 --- a/src/main.ts +++ b/src/main.ts @@ -935,7 +935,7 @@ async function execSilent( ignoreReturnCode: true, }); if (out.exitCode !== 0) { - if (!core.isDebug) { + if (!core.isDebug()) { // When debug logging is off, stderr won't have been written to console, write it now. process.stderr.write(out.stderr); }