From 71f8bb7729639f2628b0d21833ff04838aaec0d5 Mon Sep 17 00:00:00 2001 From: joe fleming Date: Thu, 4 Apr 2019 17:33:53 -0700 Subject: [PATCH] feat: show skip output in verbose mode --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index 54840fc..b04d375 100644 --- a/src/index.js +++ b/src/index.js @@ -60,6 +60,9 @@ module.exports = async function pkgcomp(config, ident, opts = defaultOptions) { err.cmd = res.cmd; throw err; } + } else if (opts.verbose) { + // eslint-disable-next-line no-console + console.log('No changes, command skipped'); } data.write(config.dataDir, ident, payload);