From 4f33ae5f9236f9fc8a4f4f88390ae5400de821a7 Mon Sep 17 00:00:00 2001 From: Marcus Berner Date: Sat, 29 Mar 2014 21:37:55 +0100 Subject: [PATCH] do not set canEmitExit with browserify process shim --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 18067789..1053b8cc 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ var createResult = require('./lib/results'); var through = require('through'); var canEmitExit = typeof process !== 'undefined' && process - && typeof process.on === 'function' + && typeof process.on === 'function' && process.browser !== true ; var canExit = typeof process !== 'undefined' && process && typeof process.exit === 'function'