Commit 92456685 by Adeel Mujahid

Merge pull request #695 from am11/master

Build: Uses v8 version instead of runtime name.
parents 8c3bd773 19b5e3c5
var semver = require('semver'), var fs = require('fs');
runtimeVersion = semver.parse(process.version),
fs = require('fs');
/** /**
* Get Runtime Info * Get Runtime Info
...@@ -32,9 +30,7 @@ function getRuntimeInfo() { ...@@ -32,9 +30,7 @@ function getRuntimeInfo() {
function getBinaryIdentifiableName() { function getBinaryIdentifiableName() {
return [process.platform, '-', return [process.platform, '-',
process.arch, '-', process.arch, '-',
process.runtime.name, '-', process.versions.v8].join('');
runtimeVersion.major, '.',
runtimeVersion.minor].join('');
} }
process.runtime = getRuntimeInfo(); process.runtime = getRuntimeInfo();
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
"replace-ext": "0.0.1", "replace-ext": "0.0.1",
"request": "^2.53.0", "request": "^2.53.0",
"sass-graph": "^1.0.3", "sass-graph": "^1.0.3",
"semver": "^4.2.2",
"shelljs": "^0.3.0" "shelljs": "^0.3.0"
}, },
"devDependencies": { "devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment