We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d149dd1 commit 752d82dCopy full SHA for 752d82d
src/node.cc
@@ -1153,12 +1153,6 @@ int Start(int argc, char** argv) {
1153
snapshot_blob_path = per_process::cli_options->snapshot_blob;
1154
} else {
1155
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
- }
1162
}
1163
1164
FILE* fp = fopen(snapshot_blob_path.c_str(), "w");
0 commit comments