Commit ff58281
committed
fix: address linter suggestion - use strings.TrimSuffix
Replace if statement with strings.TrimSuffix as suggested by staticcheck (S1017)1 parent a07c18e commit ff58281
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
| 1105 | + | |
1108 | 1106 | | |
1109 | 1107 | | |
1110 | 1108 | | |
| |||
0 commit comments