Skip to content

Commit

Permalink
fix: fix require
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Jan 8, 2025
1 parent 68d8dfd commit 87c6bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager/NodeManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ bool NodeManager::loadFile(EngineWrapper* wrapper, fs::path const& path, bool es
}}
return result;
}};
globalThis.require = PublicModule.createRequire(__PluginPath);
require = PublicModule.createRequire(__PluginPath);
}})();
{2}
)",
Expand Down

0 comments on commit 87c6bbd

Please sign in to comment.