feat: show skip output in verbose mode

This commit is contained in:
2019-04-04 17:33:53 -07:00
parent 4fec26c796
commit 71f8bb7729

View File

@@ -60,6 +60,9 @@ module.exports = async function pkgcomp(config, ident, opts = defaultOptions) {
err.cmd = res.cmd; err.cmd = res.cmd;
throw err; throw err;
} }
} else if (opts.verbose) {
// eslint-disable-next-line no-console
console.log('No changes, command skipped');
} }
data.write(config.dataDir, ident, payload); data.write(config.dataDir, ident, payload);