diff --git a/src/sys/es/fan/Env.js b/src/sys/es/fan/Env.js index 4e7a109b8..bb887f2cb 100644 --- a/src/sys/es/fan/Env.js +++ b/src/sys/es/fan/Env.js @@ -86,7 +86,7 @@ class Env extends Obj { else main.callOn(main.parent().make()); } - static __isNode() { return typeof node !== "undefined"; } + static __isNode() { return typeof process !== "undefined"; } static __node(module=null) { if (typeof node === "undefined") throw UnsupportedErr.make("Only supported in Node runtime");