mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
Fixing issue #214 where the line number errors generated have incorrect href links.
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
<a href="{{this.file_url}}">{{this.filename}}</a>
|
||||
{{#each this.errors}}
|
||||
{{#if line_number}}
|
||||
<li class="error"><a href="{{../../file_url}}#L{{this.line_number}}">Line {{this.line_number}}</a>: {{this.error_string}}</li>
|
||||
<li class="error"><a href="{{../file_url}}#L{{this.line_number}}">Line {{this.line_number}}</a>: {{this.error_string}}</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user