Commit 6bb7595
committed
fix(lint): simplify boolean return in hook_stop.go
Staticcheck S1008: use direct return instead of if/else pattern1 parent f1d4719 commit 6bb7595
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 82 | + | |
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
| |||
0 commit comments