diff --git a/globals.js b/globals.js index dd9cf7f..807ed53 100644 --- a/globals.js +++ b/globals.js @@ -1,5 +1,5 @@ global.Buffer = require('buffer').Buffer; -global.process = require('process'); +global.process = global.process || require('process'); // Needed so that 'stream-http' chooses the right default protocol. global.location = {