Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Removing the logger.defaultCallback command.
Browse files Browse the repository at this point in the history
  • Loading branch information
henvic committed Mar 4, 2015
1 parent eea034a commit 154b3be
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ logger.applyReplacements = function(output, replaceMap) {
return output;
};

logger.defaultCallback = function(err, data, success) {
if (err) {
logger.error(logger.getErrorMessage(err));
}

if (success !== false) {
logger.success(success || 'success');
}
};

logger.getErrorMessage = function(err) {
var msg;

Expand Down

0 comments on commit 154b3be

Please sign in to comment.