Skip to content

Commit

Permalink
Fix build on npm@2/node@4
Browse files Browse the repository at this point in the history
  • Loading branch information
John Haley committed Jun 23, 2016
1 parent e7ff929 commit 3a83ddf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
8 changes: 1 addition & 7 deletions lifecycleScripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
"engines": {
"node": ">= 0.12"
},
"bundledDependencies": [
"lodash",
"node-pre-gyp"
],
"dependencies": {
"fs-extra": "~0.26.2",
"lodash": "^4.13.1",
Expand Down

0 comments on commit 3a83ddf

Please sign in to comment.