FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix build on npm@2/node@4 · productinfo/nodegit@3a83ddf · GitHub

Repository navigation

Commit 3a83ddf

Browse files
John Haley
committed
Fix build on npm@2/node@4
1 parent e7ff929 commit 3a83ddf

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

‎lifecycleScripts/install.js‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ var spawn = require("child_process").spawn;
66
module.exports = function install() {
77
console.log("[nodegit] Running install script");
88

9-
var nodePreGyp = path.join(
10-
__dirname,
11-
"..",
12-
"node_modules",
13-
".bin",
14-
"node-pre-gyp"
15-
);
9+
var nodePreGyp = "node-pre-gyp";
1610

1711
if (process.platform === "win32") {
1812
nodePreGyp += ".cmd";

‎package.json‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
"engines": {
3434
"node": ">= 0.12"
3535
},
36-
"bundledDependencies": [
37-
"lodash",
38-
"node-pre-gyp"
39-
],
4036
"dependencies": {
4137
"fs-extra": "~0.26.2",
4238
"lodash": "^4.13.1",

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL