From e1edc6d337320f9688b1b263d18a8ba8fcb5a181 Mon Sep 17 00:00:00 2001 From: Stuart Leeks Date: Tue, 3 Sep 2019 23:54:23 +0100 Subject: [PATCH] Add missing comment --- internal/pkg/wsl/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/wsl/utils.go b/internal/pkg/wsl/utils.go index 709fe96fc..39c7cc4d3 100644 --- a/internal/pkg/wsl/utils.go +++ b/internal/pkg/wsl/utils.go @@ -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