| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,7 @@ var Promise = require("nodegit-promise"); | |||
| 6 | 6 | ||
| 7 | 7 | var rooted = path.join.bind(path, __dirname, ".."); | |
| 8 | 8 | if (fse.existsSync(rooted(".didntcomefromthenpmregistry"))) { | |
| 9 | + console.error("[nodegit] We only clean when downloaded from the npm registry. Skipping clean."); | ||
| 9 | 10 | return; | |
| 10 | 11 | } | |
| 11 | 12 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,8 +70,11 @@ function getVendorLib(name, url) { | |||
| 70 | 70 | .then(function() { | |
| 71 | 71 | if ((name == "libssh2") && (process.platform !== "win32")) { | |
| 72 | 72 | return new Promise(function(resolve, reject) { | |
| 73 | + console.info("[nodegit] Configuring libssh2."); | ||
| 73 | 74 | cp.exec(rooted(vendorPath) + "configure", {cwd: rooted(vendorPath)}, function(err, stdout, stderr) { | |
| 74 | 75 | if (err) { | |
| 76 | + console.error(err); | ||
| 77 | + console.error(stderr); | ||
| 75 | 78 | reject(err, stderr); | |
| 76 | 79 | } | |
| 77 | 80 | else { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments