Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 9e3b57d

Browse files
committed
Fix coverage URL for enterprise
1 parent a3094a9 commit 9e3b57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
throw optionsValid.error;
2727
}
2828

29-
var endpoint = options.endpoint || 'https://api.codacy.com/2.0/coverage/:commitId/javascript';
29+
var endpoint = (options.endpoint || 'https://api.codacy.com') + '/2.0/coverage/:commitId/javascript';
3030
logger.debug('Setting up reporter communicating to: ' + endpoint);
3131

3232
return {

0 commit comments

Comments
 (0)