feat: show skip output in verbose mode
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user