Skip to content

Console output listing the errors and warning is missing a space character #1808

@foochris

Description

@foochris

Describe the bug

A space is missing between and and the number of warnings:

====================================
svelte-check found 11 errors and0 warnings
 ELIFECYCLE  Command failed with exit code 1.

Reproduction

$ svelte-kit sync && svelte-check --tsconfig ./tsconfig.json

Expected behaviour

====================================
svelte-check found 11 errors and 0 warnings
 ELIFECYCLE  Command failed with exit code 1.

System Info

  • OS: macOS 12.6
  • IDE: VSCode

Which package is the issue about?

svelte-check

Additional Information, eg. Screenshots

`${errorCount} ${errorCount === 1 ? 'error' : 'errors'} and`,

Should be:

`${errorCount} ${errorCount === 1 ? 'error' : 'errors'} and `,

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions