Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix traverse script after yargs upgrade
mdn#11916 broke the traverse script, probably due to yargs/yargs#1992. The problem now is that for `npm run chrome all 90`, `values` will be ["null", "true", "90"], due to the combining of default and given argument, where before `values` would have been ["90"]. We were using arrays for both folder and value, which doesn't really make sense since only the last positional argument can be variadic: https://github.com/yargs/yargs/blob/master/docs/advanced.md#variadic-positional-arguments Since we use comma-separated values, just use strings instead to avoid the problem.
- Loading branch information