Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-version command does not print the version #337

Open
silverwind opened this issue Apr 13, 2024 · 1 comment
Open

-version command does not print the version #337

silverwind opened this issue Apr 13, 2024 · 1 comment
Labels
bug a bug which occured help wanted

Comments

@silverwind
Copy link
Contributor

It only prints a single \n:

$ go run github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker@latest -version | xxd
00000000: 0a                                       .
@mstruebing mstruebing added bug a bug which occured help wanted labels Apr 20, 2024
@mstruebing
Copy link
Member

After having a quick look I really think the whole version thing should be overhauled.
It's not that complicated but a lot of things can easily break: https://github.com/editorconfig-checker/editorconfig-checker/blob/main/Makefile#L89-L93

Maybe a good thing to do in conjunction with #204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug which occured help wanted
Projects
None yet
Development

No branches or pull requests

2 participants