Commit b29adc5
refactor: use _plural() helper consistently for pluralization
Three places in _console_emitter.py manually inlined the
"count word{'s' if count != 1 else ''}" pattern instead of
calling the existing _plural() helper. This replaces them all
with _plural() calls for consistency and DRY.
Co-authored-by: Ralphify <noreply@ralphify.co>1 parent 1dc8c3b commit b29adc5
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
| 1183 | + | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| |||
0 commit comments