hasBrokenSpawn.js 289 B

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