Skip to content

Commit 9e80c77

Browse files
committed
make sure we get a boolean
1 parent bde8f34 commit 9e80c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/minimal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ util.isNode = typeof global !== "undefined"
3434
&& global
3535
&& global.process
3636
&& global.process.versions
37-
&& global.process.versions.node;
37+
&& typeof global.process.versions.node === "string";
3838

3939
/**
4040
* Global object reference.

0 commit comments

Comments
 (0)