mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
remove printInfo callers (#812)
This commit is contained in:
parent
a4d5574f00
commit
951e9ef881
3
cli.js
3
cli.js
@ -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);
|
||||
}
|
||||
|
||||
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user