Skip to content

Commit 300b907

Browse files
fix: use correct param for dryRun check
1 parent 7b7ed56 commit 300b907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/checkpoint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const figures = require('figures')
33
const util = require('util')
44

55
module.exports = function (argv, msg, args, figure) {
6-
const defaultFigure = args.dryRun ? chalk.yellow(figures.tick) : chalk.green(figures.tick)
6+
const defaultFigure = argv.dryRun ? chalk.yellow(figures.tick) : chalk.green(figures.tick)
77
if (!argv.silent) {
88
console.info((figure || defaultFigure) + ' ' + util.format.apply(util, [msg].concat(args.map(function (arg) {
99
return chalk.bold(arg)

0 commit comments

Comments
 (0)