We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b7ed56 commit 300b907Copy full SHA for 300b907
lib/checkpoint.js
@@ -3,7 +3,7 @@ const figures = require('figures')
3
const util = require('util')
4
5
module.exports = function (argv, msg, args, figure) {
6
- const defaultFigure = args.dryRun ? chalk.yellow(figures.tick) : chalk.green(figures.tick)
+ const defaultFigure = argv.dryRun ? chalk.yellow(figures.tick) : chalk.green(figures.tick)
7
if (!argv.silent) {
8
console.info((figure || defaultFigure) + ' ' + util.format.apply(util, [msg].concat(args.map(function (arg) {
9
return chalk.bold(arg)
0 commit comments