diat-linux-perf
Advanced tools
Comparing version 1.2.0 to 1.2.1
const semver = require('semver') | ||
const childProcess = require('child_process') | ||
const os = require('os') | ||
const packageJSON = require('./package.json') | ||
@@ -12,3 +13,5 @@ | ||
async function main() { | ||
if (semver.satisfies(process.version, '>=10.4.0')) { | ||
if (os.platform() === 'win32') { | ||
console.warn(`win32 doesn't support ${packageJSON.name}`) | ||
} else if (semver.satisfies(process.version, '>=10.4.0')) { | ||
const child = childProcess.exec(kGypRebuildCmd) | ||
@@ -15,0 +18,0 @@ let stderrStrs = '' |
{ | ||
"name": "diat-linux-perf", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "", | ||
@@ -33,3 +33,3 @@ "main": "linux-perf.js", | ||
}, | ||
"gitHead": "8398e94d8fb041cda249c4660fb98f80ab41fdf9" | ||
"gitHead": "b82e5a25af8246719fc89e3f5d77074176947af8" | ||
} |
12276
96