remove printInfo callers (#812)

This commit is contained in:
Jeff Williams 2015-03-15 16:55:50 -07:00
parent a4d5574f00
commit 951e9ef881
2 changed files with 2 additions and 4 deletions

3
cli.js
View File

@ -429,13 +429,12 @@ cli.generateDocs = function() {
// templates should include a publish.js file that exports a "publish" function
if (template.publish && typeof template.publish === 'function') {
logger.printInfo('Generating output files...');
logger.info('Generating output files...');
var publishPromise = template.publish(
taffy(props.docs),
env.opts,
resolver.root
);
logger.info('complete.');
return Promise.resolve(publishPromise);
}

View File

@ -218,7 +218,7 @@ Parser.prototype._parseSourceCode = function(sourceCode, sourceName) {
};
this.emit('fileBegin', e);
logger.printInfo('Parsing %s ...', sourceName);
logger.info('Parsing %s ...', sourceName);
if (!e.defaultPrevented) {
e = {
@ -238,7 +238,6 @@ Parser.prototype._parseSourceCode = function(sourceCode, sourceName) {
}
this.emit('fileComplete', e);
logger.info('complete.');
};
/** @private */