summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js')
-rw-r--r--deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js b/deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js
deleted file mode 100644
index 9f2eba63..00000000
--- a/deps/node/deps/npm/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict';
-
-// See: https://github.com/IndigoUnited/node-cross-spawn/pull/34#issuecomment-221623455
-function hasEmptyArgumentBug() {
- var nodeVer;
-
- if (process.platform !== 'win32') {
- return false;
- }
-
- nodeVer = process.version.substr(1).split('.').map(function (num) {
- return parseInt(num, 10);
- });
-
- return (nodeVer[0] === 0 && nodeVer[1] < 12);
-}
-
-module.exports = hasEmptyArgumentBug();