Skip to content

Commit

Permalink
Fix test failure caused by yargs
Browse files Browse the repository at this point in the history
In yargs 3.2, any non-truthy return value to check will fail: https://github.com/yargs/yargs/blob/master/CHANGELOG.md#302-20150213-1650-0000
It appears that this check is no longer necessary as the other contents of the check callback no longer exist: 2e7a3bd#diff-2aff13863648736946e83d70c5e63520L86
It appears the build failed for PR #1180, not sure why it was merged
  • Loading branch information
jbboehr authored and nknapp committed Mar 9, 2017
1 parent 7d5dba4 commit e121e4f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/handlebars
Expand Up @@ -102,12 +102,7 @@ var yargs = require('yargs')
}
})

.wrap(120)
.check(function(argv) {
if (argv.version) {
return;
}
});
.wrap(120);


var argv = yargs.argv;
Expand Down

0 comments on commit e121e4f

Please sign in to comment.