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 3b4f9b2 commit 75aaa3bCopy full SHA for 75aaa3b
1 file changed
src/node_snapshotable.cc
@@ -935,15 +935,13 @@ std::optional<SnapshotConfig> ReadSnapshotConfig(const char* config_path) {
935
return std::nullopt;
936
}
937
if (key == "builder") {
938
- std::string builder_path;
939
- if (field.value().get_string().get(builder_path) ||
940
- builder_path.empty()) {
+ if (field.value().get_string().get(result.builder_script_path) ||
+ result.builder_script_path.empty()) {
941
FPrintF(stderr,
942
"\"builder\" field of %s is not a non-empty string\n",
943
config_path);
944
945
946
- result.builder_script_path = builder_path;
947
} else if (key == "withoutCodeCache") {
948
bool without_code_cache_value = false;
949
if (field.value().get_bool().get(without_code_cache_value)) {
0 commit comments