Commit 23d3c03
committed
Fix inverted condition
linkMatchesPath validates that `err != nil` and then uses the non-error
value.
Invert this condition; only use the value if there **was not** an error.1 parent 061d038 commit 23d3c03
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments