Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.option('-r, --reporter ', 'Format of output: console (default), checkstyle, json, gnu', function(name) {
if (!reporters.hasOwnProperty(name)) {
throw new cli.Error('Wrong value for reporter: ' + name);
}
return name;
})
.action(function(args) {