We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c44301 commit 9e4959bCopy full SHA for 9e4959b
spec/fbp.coffee
@@ -1,4 +1,4 @@
1
-if typeof process is 'object' and process.title is 'node'
+if typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1
2
chai = require 'chai' unless chai
3
parser = require '../lib/fbp'
4
else
0 commit comments