Skip to content

Commit 9188331

Browse files
committed
fix(scripts): satisfy temp cleanup guard lint
1 parent 35e92b9 commit 9188331

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/check-test-temp-cleanup.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,11 @@ export async function renderTestTempCleanupReport(params) {
168168
};
169169
}
170170

171-
export async function main(argv = process.argv.slice(2), io) {
171+
export async function main(argv, io) {
172+
const effectiveArgv = argv ?? process.argv.slice(2);
172173
const result = await renderTestTempCleanupReport({
173174
root: repoRoot,
174-
json: argv.includes("--json"),
175+
json: effectiveArgv.includes("--json"),
175176
io,
176177
});
177178
return result.exitCode;

0 commit comments

Comments
 (0)