Skip to content

Commit

Permalink
Merge pull request #36 from jreilly-lukava/patch-1
Browse files Browse the repository at this point in the history
fix: use correct param for dryRun check
  • Loading branch information
TimothyJones authored Aug 11, 2022
2 parents 185a461 + 300b907 commit e613b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const figures = require('figures')
const util = require('util')

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

0 comments on commit e613b4c

Please sign in to comment.