| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ NodeGit | |||
| 29 | 29 | ||
| 30 | 30 | ***NOTE: NodeGit currently does not work with [iojs on windows](https://github.com/rvagg/pangyp/issues/4)*** | |
| 31 | 31 | ||
| 32 | - **Stable: 0.3.0** | ||
| 32 | + **Stable: 0.3.1** | ||
| 33 | 33 | ||
| 34 | 34 | ## Have a problem? Come chat with us! ## | |
| 35 | 35 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ var exec = promisify(function(command, opts, callback) { | |||
| 13 | 13 | var nwVersion = null; | |
| 14 | 14 | var asVersion = null; | |
| 15 | 15 | ||
| 16 | + var local = path.join.bind(path, __dirname); | ||
| 17 | + | ||
| 16 | 18 | return whichNativeNodish("..") | |
| 17 | 19 | .then(function(results) { | |
| 18 | 20 | nwVersion = results.nwVersion; | |
@@ -27,7 +29,7 @@ return whichNativeNodish("..") | |||
| 27 | 29 | console.info("[nodegit] Must build for atom-shell"); | |
| 28 | 30 | return checkAndBuild(); | |
| 29 | 31 | } | |
| 30 | - if (fs.existsSync("../.didntcomefromthenpmregistry")) { | ||
| 32 | + if (fs.existsSync(local("../.didntcomefromthenpmregistry"))) { | ||
| 31 | 33 | return checkAndBuild(); | |
| 32 | 34 | } | |
| 33 | 35 | if (process.env.BUILD_DEBUG) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | { | |
| 2 | 2 | "name": "nodegit", | |
| 3 | 3 | "description": "Node.js libgit2 asynchronous native bindings", | |
| 4 | - "version": "0.3.0", | ||
| 4 | + "version": "0.3.1", | ||
| 5 | 5 | "libgit2": { | |
| 6 | 6 | "url": "https://github.com/nodegit/libgit2/tarball/4b3a1899ff37dddba0a095487505fed9ede101b1", | |
| 7 | 7 | "sha": "4b3a1899ff37dddba0a095487505fed9ede101b1", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments