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

Commit

Permalink
Fix coverage URL for enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
machadoit committed Aug 8, 2016
1 parent a3094a9 commit 9e3b57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
throw optionsValid.error;
}

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

return {
Expand Down

0 comments on commit 9e3b57d

Please sign in to comment.