Skip to content

Commit 6e11e0e

Browse files
committed
debug info
1 parent c8a5025 commit 6e11e0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lifecycleScripts/clean.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var Promise = require("nodegit-promise");
66

77
var rooted = path.join.bind(path, __dirname, "..");
88
if (fse.existsSync(rooted(".didntcomefromthenpmregistry"))) {
9+
console.error("[nodegit] We only clean when downloaded from the npm registry. Skipping clean.");
910
return;
1011
}
1112

lifecycleScripts/retrieveExternalDependencies.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ function getVendorLib(name, url) {
7070
.then(function() {
7171
if ((name == "libssh2") && (process.platform !== "win32")) {
7272
return new Promise(function(resolve, reject) {
73+
console.info("[nodegit] Configuring libssh2.");
7374
cp.exec(rooted(vendorPath) + "configure", {cwd: rooted(vendorPath)}, function(err, stdout, stderr) {
7475
if (err) {
76+
console.error(err);
77+
console.error(stderr);
7578
reject(err, stderr);
7679
}
7780
else {

0 commit comments

Comments
 (0)