mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
src: fix bootstrap_node on bsd
Currently makes a call to `realpathSync.native` which doesn't exist on 8.x or lower PR-URL: https://github.com/nodejs/node/pull/22663 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
1 parent
f82d58db4c
commit
d478bc7375
1 file changed
+1
-1
Vendored
+1
-1
@@ -88,7 +88,7 @@
|
||||
// get the full path before process.execPath is used.
|
||||
if (process.platform === 'openbsd') {
|
||||
const { realpathSync } = NativeModule.require('fs');
|
||||
process.execPath = realpathSync.native(process.execPath);
|
||||
process.execPath = realpathSync(process.execPath);
|
||||
}
|
||||
|
||||
Object.defineProperty(process, 'argv0', {
|
||||
|
||||
Reference in new issue
Block a user