Skip to content

Commit d49dd59

Browse files
committed
chore: remove comment about using path, since we now use filepath
1 parent e22ad54 commit d49dd59

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/loader/loader.go

-3
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ func openFile(path string) (io.ReadCloser, bool, error) {
6868
}
6969

7070
func loadLocal(base *source, name string) (*source, bool, error) {
71-
// We want to keep all strings in / format, and only convert to platform specific when reading
72-
// This is why we use path instead of filepath.
7371
filePath := name
74-
// @ TODO this change might not be required if we stick with using busybox always on windows instead of getting the wsl bash.exe?
7572
if !filepath.IsAbs(name) {
7673
filePath = path.Join(base.Path, name)
7774
}

0 commit comments

Comments
 (0)