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 4, 2019
1 parent 4018dab commit 7fe1416
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 7fe1416

Please sign in to comment.