Skip to content

Commit 4f33ae5

Browse files
marcusbernerJames Halliday
authored and
James Halliday
committed
do not set canEmitExit with browserify process shim
1 parent 7481178 commit 4f33ae5

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)