mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-01 02:04:26 +02:00
now with errors
This commit is contained in:
parent
9a86845ead
commit
625c15d51e
3 changed files with 26 additions and 20 deletions
|
@ -124,11 +124,17 @@ HeadlessGit.prototype.sendCommand = function(value, entireCommandPromise) {
|
|||
|
||||
chain.then(function() {
|
||||
var nowTime = new Date().getTime();
|
||||
// .log('done with command "' + value + '", took ', nowTime - startTime);
|
||||
if (entireCommandPromise) {
|
||||
entireCommandPromise.resolve();
|
||||
}
|
||||
});
|
||||
|
||||
chain.fail(function(err) {
|
||||
console.log('!!!!!!!! error !!!!!!!');
|
||||
console.log(err);
|
||||
console.log(err.stack);
|
||||
console.log('!!!!!!!!!!!!!!!!!!!!!!');
|
||||
});
|
||||
deferred.resolve();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue