wallet-core/node_modules/cross-spawn/lib/hasBrokenSpawn.js
2017-05-28 00:40:43 +02:00

12 lines
289 B
JavaScript

'use strict';
module.exports = (function () {
if (process.platform !== 'win32') {
return false;
}
var nodeVer = process.version.substr(1).split('.').map(function (num) {
return parseInt(num, 10);
});
return (nodeVer[0] === 0 && nodeVer[1] < 12);
})();