Skip to content

Commit

Permalink
fixup! bootstrap: implement --snapshot-blob and --snapshot-main
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jun 10, 2021
1 parent d149dd1 commit 752d82d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/node.cc
Expand Up @@ -1153,12 +1153,6 @@ int Start(int argc, char** argv) {
snapshot_blob_path = per_process::cli_options->snapshot_blob;
} else {
snapshot_blob_path = std::string("snapshot.blob");
char buf[PATH_MAX_BYTES];
size_t cwd_size = sizeof(buf);
if (uv_cwd(buf, &cwd_size)) {
snapshot_blob_path =
std::string(buf) + kPathSeparator + std::string("snapshot.blob");
}
}

FILE* fp = fopen(snapshot_blob_path.c_str(), "w");
Expand Down

0 comments on commit 752d82d

Please sign in to comment.