diff --git a/index.js b/index.js index 37af15e..0be2a87 100644 --- a/index.js +++ b/index.js @@ -169,9 +169,9 @@ module.exports = function(app) { console.error(err.stack) } }) - } - if ( app.reportOutputMessages ) { - app.reportOutputMessages(pgns.length) + if ( app.reportOutputMessages ) { + app.reportOutputMessages(pgns.length) + } } }