Skip to content

Commit cb4a050

Browse files
author
Francis Bouvier
committed
Bugfix in checkUrl
1 parent 35c7d09 commit cb4a050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bindings/window/window.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func checkUrl(s string) (string, error) {
3737
if u.Scheme == "" {
3838
p, err := filepath.Abs(s)
3939
if err != nil {
40-
return p, err
40+
return s, err
4141
}
4242
u = &url.URL{
4343
Scheme: "file",

0 commit comments

Comments
 (0)