Skip to content

Commit 6010a91

Browse files
joyeecheungruyadorno
authored andcommitted
bootstrap: do not expand argv1 for snapshots
To avoid capturing build machine states into the snapshot PR-URL: #49506 Fixes: #49501 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9f0b0e1 commit 6010a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/main/mksnapshot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function requireForUserSnapshot(id) {
132132

133133

134134
function main() {
135-
prepareMainThreadExecution(true, false);
135+
prepareMainThreadExecution(false, false);
136136
initializeCallbacks();
137137

138138
let stackTraceLimitDesc;

0 commit comments

Comments
 (0)