We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bef499 commit cc58981Copy full SHA for cc58981
cmd/root.go
@@ -50,7 +50,7 @@ var rootCmd = &cobra.Command{
50
var allow = make([]string, len(files))
51
for i, f := range files {
52
if strings.HasPrefix(f, "/") {
53
- allow[i] = f
+ allow[i] = filepath.Join("/", f)
54
} else {
55
allow[i] = filepath.Join(wd, f)
56
}
0 commit comments