We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec58517 commit 4fd8e8aCopy full SHA for 4fd8e8a
pkg/loader/loader.go
@@ -70,6 +70,8 @@ func openFile(path string) (io.ReadCloser, bool, error) {
70
func loadLocal(base *source, name string) (*source, bool, error) {
71
filePath := name
72
if !filepath.IsAbs(name) {
73
+ // We want to keep all strings in / format, and only convert to platform specific when reading
74
+ // This is why we use path instead of filepath.
75
filePath = path.Join(base.Path, name)
76
}
77
0 commit comments