Skip to content

Commit

Permalink
fix: Add trimming of value ⚓
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Feb 20, 2024
1 parent 8b58fcc commit 45d054b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githooks/container/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewManager(manager string) (mgr IManager, err error) {

var e error
for _, manager := range mgrs {
switch manager {
switch strings.TrimSpace(manager) {
case "docker":
mgr, e = NewManagerDocker()
case "podman":
Expand Down

0 comments on commit 45d054b

Please sign in to comment.