Skip to content

Commit 1ab5ade

Browse files
author
benholloway
committed
fixed karma and jshint yargs checks
1 parent 78fd5f9 commit 1ab5ade

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/test/karma.js

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

lib/util/jshint-reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var checkJsHintReporter = yargs.createCheck()
100100
getJsHintReporter(value);
101101
}
102102
catch (ex) {
103-
return 'Illegal value for "jshint-reporter"\n' + ex;
103+
return 'Illegal value for "jshint-reporter": ' + ex;
104104
}
105105
}
106106
})

0 commit comments

Comments
 (0)