From 9b5a59c2f1085b2fafca8c0e1ecb3cbcab93b3b2 Mon Sep 17 00:00:00 2001 From: doivos <6378638+doivosevic@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:05:05 +0200 Subject: [PATCH] fix windows delimiter --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 2b69dad..88abd0d 100644 --- a/main.go +++ b/main.go @@ -269,6 +269,9 @@ func configAction(cCtx *cli.Context) error { PowerShell: runtime.GOOS == "windows", Suffix: suffix, } + + data.Token = filepath.ToSlash(data.Token) + data.IdentityFile = filepath.ToSlash(data.IdentityFile) // use ~/variable expansion inside ~/.ssh configuration files if possible if strings.HasPrefix(cacheDir, userHomeDir) {