Skip to content

Commit efcfc96

Browse files
committed
fix lint
1 parent 1c717e9 commit efcfc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/dev/editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Editor struct {
2121
}
2222

2323
func (e *Editor) RenderURL(repoURL string) template.URL {
24-
return template.URL(strings.Replace(e.URL, "${repo_url}", repoURL, -1))
24+
return template.URL(strings.ReplaceAll(e.URL, "${repo_url}", repoURL))
2525
}
2626

2727
var defaultEditors = []Editor{

0 commit comments

Comments
 (0)