"vscode:/vscode.git/clone" did not exist on "3bfdb4275c13ec8207ae78222b7895c01a01371b"
Commit 7b59d177 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Fix relative path lookup

parent 95ead8ff
...@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) { ...@@ -40,7 +40,7 @@ func PayloadsDir() (string, error) {
} }
var paths []string var paths []string
for _, root := range []string{appExe, cwd} { for _, root := range []string{filepath.Dir(appExe), cwd} {
paths = append(paths, paths = append(paths,
filepath.Join(root), filepath.Join(root),
filepath.Join(root, "windows-"+runtime.GOARCH), filepath.Join(root, "windows-"+runtime.GOARCH),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment