Permalink
Browse files

Fix test failure caused by yargs

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...
1 parent e8ceafa commit f0d4159a5e874164ea013373fcb16462be863b88 @jbboehr jbboehr committed Apr 21, 2016
Showing with 1 addition and 6 deletions.
  1. +1 −6 bin/handlebars
View
@@ -102,12 +102,7 @@ var yargs = require('yargs')
}
})
- .wrap(120)
- .check(function(argv) {
- if (argv.version) {
- return;
- }
- });
+ .wrap(120);
var argv = yargs.argv;

0 comments on commit f0d4159

Please sign in to comment.