Commit 1c3a8a8
fix: pluralize issues number (#125)
Displays '2 issues' rather than '2 issue' if multiple issues have been
found by an advisory source.
Pluralize tested against:
https://www.npmjs.com/package/react-scripts
https://pypi.org/project/openpyxl-templates/
Checking for regression issues against the following, which should show
singular issues in one of the artifacts.
https://www.npmjs.com/package/react-day-picker
https://www.npmjs.com/package/node-sass
https://pypi.org/project/pydub/
Lint output:
```
xxxxxxxxxxxxxx:~/Projects/overlay$ npm run lint
> lint
> eslint src tests e2e
```
yarn test output:
```
Test Suites: 12 passed, 12 total
Tests: 1 skipped, 193 passed, 194 total
Snapshots: 0 total
Time: 5.022 s
Ran all test suites.
Done in 5.98s.
```
Co-authored-by: Marcus Watson <mwatson@veracode.com>1 parent 21b4b76 commit 1c3a8a8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments