Commit 3a83ddfa authored by John Haley's avatar John Haley

Fix build on npm@2/node@4

parent e7ff9297
......@@ -6,13 +6,7 @@ var spawn = require("child_process").spawn;
module.exports = function install() {
console.log("[nodegit] Running install script");
var nodePreGyp = path.join(
__dirname,
"..",
"node_modules",
".bin",
"node-pre-gyp"
);
var nodePreGyp = "node-pre-gyp";
if (process.platform === "win32") {
nodePreGyp += ".cmd";
......
......@@ -33,10 +33,6 @@
"engines": {
"node": ">= 0.12"
},
"bundledDependencies": [
"lodash",
"node-pre-gyp"
],
"dependencies": {
"fs-extra": "~0.26.2",
"lodash": "^4.13.1",
......
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