diff --git a/cli/installations.go b/cli/installations.go index 0e7c58a..73172dd 100644 --- a/cli/installations.go +++ b/cli/installations.go @@ -547,5 +547,10 @@ func (i *Installation) BasePath() string { if err != nil { return i.Path } + + if parsed.Scheme != "ftp" && parsed.Scheme != "sftp" { + return i.Path + } + return parsed.Path }