Skip to content

Commit 9e4959b

Browse files
committed
Improve platform check
1 parent 2c44301 commit 9e4959b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/fbp.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if typeof process is 'object' and process.title is 'node'
1+
if typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1
22
chai = require 'chai' unless chai
33
parser = require '../lib/fbp'
44
else

0 commit comments

Comments
 (0)