Skip to content

Commit

Permalink
check: happy
Browse files Browse the repository at this point in the history
  • Loading branch information
denizsurmeli committed Sep 24, 2023
1 parent a6e96c2 commit 79155b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/cp.go
Expand Up @@ -148,7 +148,7 @@ func NewSharedFlags() []cli.Flag {
Enum: []string{"COPY", "REPLACE", ""},
Default: "",
ConditionFunction: func(str, target string) bool {
return strings.ToLower(target) == strings.ToLower(str)
return strings.EqualFold(target, str)
},
},
},
Expand Down

0 comments on commit 79155b2

Please sign in to comment.