Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 7c572f3

Browse files
committed
Raplace "path.Base" to "filePath.Base"
1 parent 287e902 commit 7c572f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/client/compose.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66
"os/signal"
7-
"path"
7+
"path/filepath"
88
"strconv"
99
"strings"
1010
"syscall"
@@ -515,5 +515,5 @@ func getBaseDir() string {
515515
if err != nil {
516516
return ""
517517
}
518-
return path.Base(file)
518+
return filepath.Base(file)
519519
}

0 commit comments

Comments
 (0)