Skip to content

Commit

Permalink
bootstrap: do not expand argv1 for snapshots
Browse files Browse the repository at this point in the history
To avoid capturing build machine states into the snapshot

PR-URL: nodejs#49506
Fixes: nodejs#49501
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
joyeecheung authored and alexfernandez committed Nov 1, 2023
1 parent 3ab1f79 commit d4e2c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/main/mksnapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function requireForUserSnapshot(id) {


function main() {
prepareMainThreadExecution(true, false);
prepareMainThreadExecution(false, false);
initializeCallbacks();

let stackTraceLimitDesc;
Expand Down

0 comments on commit d4e2c88

Please sign in to comment.