Skip to content

Commit fb0c5a1

Browse files
ftheirsHermanObst
andauthored
Update scripts/run-with-logs.ts
Co-authored-by: Herman Obst Demaestri <hodemaestri@gmail.com>
1 parent eaf65b1 commit fb0c5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run-with-logs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ function ensureLogFileEnv(env: NodeJS.ProcessEnv): NodeJS.ProcessEnv {
114114
}
115115

116116
const runIdRaw =
117-
(env.RUN_ID && env.RUN_ID.trim().length > 0
117+
env.RUN_ID && env.RUN_ID.trim().length > 0
118118
? env.RUN_ID.trim()
119-
: undefined) ?? `${nowStamp()}-${randomSuffix()}`;
119+
: `${nowStamp()}-${randomSuffix()}`;
120120
const runId = sanitizeRunId(runIdRaw);
121121

122122
const dir = join(process.cwd(), "logs");

0 commit comments

Comments
 (0)