Skip to content

Commit 7a1fc5f

Browse files
authored
Merge pull request #1 from olegdeezus/master
Don't override process if it defined
2 parents 6eed74b + ea9927c commit 7a1fc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TcpSocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
'use strict';
1010

11-
global.process = require('process'); // needed to make stream-browserify happy
11+
global.process = global.process || require('process'); // needed to make stream-browserify happy
1212
var Buffer = global.Buffer = global.Buffer || require('buffer').Buffer;
1313

1414
var util = require('util');

0 commit comments

Comments
 (0)