From 28f6efe95551b8da67542bd980593df07ca9b790 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 10 Feb 2021 14:37:57 +0000 Subject: [PATCH] cmd: refactor to use fspath.SplitFs instead of fs.ParseRemote #4996 --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 3192086d6..fee58d61b 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -84,7 +84,7 @@ func ShowVersion() { // It returns a string with the file name if points to a file // otherwise "". func NewFsFile(remote string) (fs.Fs, string) { - _, _, fsPath, err := fs.ParseRemote(remote) + _, fsPath, err := fspath.SplitFs(remote) if err != nil { err = fs.CountError(err) log.Fatalf("Failed to create file system for %q: %v", remote, err)