mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Fix freeProcess.binding(util) usage (#2793)
This commit is contained in:
committed by
John-David Dalton
parent
3217118fab
commit
6d951ccc87
@@ -432,7 +432,7 @@
|
|||||||
/** Used to access faster Node.js helpers. */
|
/** Used to access faster Node.js helpers. */
|
||||||
var nodeUtil = (function() {
|
var nodeUtil = (function() {
|
||||||
try {
|
try {
|
||||||
return freeProcess && freeProcess.binding('util');
|
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user