File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ var karmaReporterMatchNameRegex = /^karma-(.+)-reporter$/ ;
4242 */
4343function getKarmaReporterPluginPath ( reporterName ) {
4444 if ( typeof reporterName !== 'string' ) {
45- throw 'Get Karma Reporter Plugin Path: Reporter name is unspecified' ;
45+ throw 'Reporter name is unspecified' ;
4646 }
4747
4848 //Default reporter is a dependency of angularity
@@ -61,8 +61,7 @@ function getKarmaReporterPluginPath(reporterName) {
6161 require ( reporterPath ) ;
6262 }
6363 catch ( ex ) {
64- throw 'Get Karma Reporter Plugin Path: Attempt to require reporter from path ' +
65- reporterPath + ' with no success.' ;
64+ throw 'Attempt to require reporter from path ' + reporterPath + ' with no success.' ;
6665 }
6766 reporterPath = path . normalize ( reporterPath ) ;
6867
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function getJsHintReporter(reporterName) {
3232 // establish a cached copy
3333 if ( ! resolvedReporter ) {
3434 if ( typeof reporterName !== 'string' ) {
35- throw 'Get JsHint Reporter: Reporter name is unspecified' ;
35+ throw 'Reporter name is unspecified' ;
3636 }
3737 else {
3838 var reporterPath ;
@@ -58,7 +58,7 @@ function getJsHintReporter(reporterName) {
5858 }
5959 } ) ;
6060 if ( ! resolvedReporter ) {
61- throw 'Get JsHint Reporter: Attempt to require specified reporter with no success.' ;
61+ throw 'Attempt to require specified reporter with no success.' ;
6262 }
6363 }
6464 }
@@ -73,7 +73,7 @@ function getJsHintReporter(reporterName) {
7373 return gulpJshint . reporter ( resolvedReporter ) ;
7474 }
7575 else {
76- throw 'Get JsHint Reporter: Given reporter is badly formed' ;
76+ throw 'Given reporter is badly formed' ;
7777 }
7878}
7979
You can’t perform that action at this time.
0 commit comments