Commit 11692c8
authored
fix: remove redundant undefined check in urgencyLabel (#90)
The parameter type is number | null, so undefined is impossible.
Simplify to == null (covers both) to resolve CodeQL code quality
finding js/unneeded-defensive-code.1 parent 52a9042 commit 11692c8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
0 commit comments