Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! fixup! src: dump snapshot source with node:generate_default_sn…
…apshot_source
  • Loading branch information
joyeecheung committed Dec 19, 2025
commit 09ccbcf0b06606491d1405edc8f4a0abcbb5d68a
11 changes: 6 additions & 5 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1380,11 +1380,12 @@ ExitCode GenerateAndWriteSnapshotData(const SnapshotData** snapshot_data_ptr,
if (builder_script == "node:generate_default_snapshot_source") {
// Reset to empty to generate from scratch.
snapshot_config.builder_script_path = {};
exit_code = node::SnapshotBuilder::GenerateAsSource("snapshot.cc",
args_maybe_patched,
result->exec_args(),
snapshot_config,
true /* use_array_literals */);
exit_code =
node::SnapshotBuilder::GenerateAsSource("snapshot.cc",
args_maybe_patched,
result->exec_args(),
snapshot_config,
true /* use_array_literals */);
return exit_code;
}

Expand Down
Loading