language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

`svelte-check --version` is not correct

Open rgossiaux opened this issue 3 years ago • 0 comments

Describe the bug If you run svelte-check --version (eg npx svelte-check --version, or in a SvelteKit project npm run check -- --version) you get as output: svelte-check, 1.x

The 1.x isn't very useful anyway, but it's also incorrect (we're now on 2.x). It comes from this hardcoded line: https://github.com/sveltejs/language-tools/blob/b96008427b5bd52e1de0156cebc55b32c127df38/packages/svelte-check/src/options.ts#L22

On a separate but related note, I noticed that the version in package.json is not kept up to date by your release process: https://github.com/sveltejs/language-tools/blob/b96008427b5bd52e1de0156cebc55b32c127df38/packages/svelte-check/package.json#L4

To Reproduce See above.

Expected behavior See above.

Screenshots N/A

System (please complete the following information): N/A

Additional context N/A

rgossiaux avatar Feb 01 '22 00:02 rgossiaux