Skip to content

Commit e62201f

Browse files
author
benholloway
committed
fixed karma and jshint yargs checks
1 parent a4e71ee commit e62201f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/test/karma.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ var checkKarmaReporter = yargs.createCheck()
250250
getKarmaReporterPluginPath(value);
251251
}
252252
catch (ex) {
253-
return 'Illegal value for "reporter"\n' + ex;
253+
return 'Illegal value for "karma-reporter"\n' + ex;
254254
}
255255
}
256256
}

lib/util/jshint-reporter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ var yargsOptionDefiniton = {
8282
value: {
8383
describe: 'Specify a custom JsHint reporter to use. Either a locally npm installed module, or the absolute path ' +
8484
'to one.',
85-
alias: ['j'],
86-
default: defaultReporterName,
87-
string: true
85+
alias : ['j'],
86+
default : defaultReporterName,
87+
string : true
8888
}
8989
};
9090
var checkJsHintReporter = yargs.createCheck()
@@ -100,7 +100,7 @@ var checkJsHintReporter = yargs.createCheck()
100100
getJsHintReporter(value);
101101
}
102102
catch (ex) {
103-
return 'Illegal value for "reporter"\n' + ex;
103+
return 'Illegal value for "jshint-reporter"\n' + ex;
104104
}
105105
}
106106
})

0 commit comments

Comments
 (0)