Skip to content

Commit

Permalink
squash: remove unintended line removal
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Dawson <mdawson@devrus.com>
  • Loading branch information
mhdawson committed Aug 25, 2022
1 parent 7d862f0 commit 8a353a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node_builtins.cc
Expand Up @@ -55,6 +55,7 @@ BuiltinLoader::BuiltinLoader() : config_(GetConfig()), has_code_cache_(false) {
#endif // NODE_HAVE_I18N_SUPPORT
}

#if defined(NODE_HAVE_I18N_SUPPORT)
BuiltinLoader* BuiltinLoader::GetInstance() {
return &instance_;
}
Expand Down Expand Up @@ -223,6 +224,7 @@ MaybeLocal<String> BuiltinLoader::LoadBuiltinSource(Isolate* isolate,
#ifdef NODE_BUILTIN_MODULES_PATH
}
std::string filename = OnDiskFileName(id);

std::string contents;
int r = ReadFileSync(&contents, filename.c_str());
if (r != 0) {
Expand Down

0 comments on commit 8a353a0

Please sign in to comment.