Skip to content

Commit 752d82d

Browse files
committed
fixup! bootstrap: implement --snapshot-blob and --snapshot-main
1 parent d149dd1 commit 752d82d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/node.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,12 +1153,6 @@ int Start(int argc, char** argv) {
11531153
snapshot_blob_path = per_process::cli_options->snapshot_blob;
11541154
} else {
11551155
snapshot_blob_path = std::string("snapshot.blob");
1156-
char buf[PATH_MAX_BYTES];
1157-
size_t cwd_size = sizeof(buf);
1158-
if (uv_cwd(buf, &cwd_size)) {
1159-
snapshot_blob_path =
1160-
std::string(buf) + kPathSeparator + std::string("snapshot.blob");
1161-
}
11621156
}
11631157

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

0 commit comments

Comments
 (0)