Skip to content

Commit 555faf9

Browse files
committed
fix(executor): set default value of env in execute
1 parent 8812bac commit 555faf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ts/executor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ export const chunks = [
1717

1818
export const execute = (
1919
options: TStampOptions,
20-
env: TEnv
20+
env: TEnv = process.env
2121
): TStamp =>
2222
chunks.reduce((ctx, chunk) => chunk(ctx, env), { options, stamp: {} }).stamp

0 commit comments

Comments
 (0)