Skip to content

Commit

Permalink
Add missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Sep 3, 2019
1 parent 97fe610 commit e1edc6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/wsl/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ func IsWSL() bool {
return os.Getenv("WSL_DISTRO_NAME") != ""
}

// TranslateToWindowsPath converts a Linux path under WSL to a Windows-accessible path
func TranslateToWindowsPath(localPath string) (string, error) {
cmd := exec.Command("wslpath", "-w", localPath)
var out bytes.Buffer
Expand Down

0 comments on commit e1edc6d

Please sign in to comment.