Skip to content

Commit ebdbba6

Browse files
marcusbernerJames Halliday
authored and
James Halliday
committedApr 2, 2014
do not set canEmitExit with browserify process shim
1 parent 01f320e commit ebdbba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var createResult = require('./lib/results');
55
var through = require('through');
66

77
var canEmitExit = typeof process !== 'undefined' && process
8-
&& typeof process.on === 'function'
8+
&& typeof process.on === 'function' && process.browser !== true
99
;
1010
var canExit = typeof process !== 'undefined' && process
1111
&& typeof process.exit === 'function'

0 commit comments

Comments
 (0)