Skip to content

Commit 85ef08f

Browse files
marvinhagemeisterbugthesystem
authored andcommitted
Remove dash from GitLab line url hash (#60)
Fixes #59
1 parent e67ad58 commit 85ef08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Bitbucket extends BaseProvider {
5454
class GitLab extends GitHub {
5555
webUrl(branch, filePath, line, endLine) {
5656
if (filePath) {
57-
return `${this.baseUrl}/blob/${branch}` + (filePath ? `${filePath}` : '') + (line ? `#L-${line}` : '');
57+
return `${this.baseUrl}/blob/${branch}` + (filePath ? `${filePath}` : '') + (line ? `#L${line}` : '');
5858
}
5959
return `${this.baseUrl}/tree/${branch}`;
6060
}

0 commit comments

Comments
 (0)