12 lines
289 B
JavaScript
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);
|
||
|
})();
|