-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Incorrect version is always printed incorrectly #136
Comments
Hi @bencekiss thanks a lot for the issue! I will fix it as soon as possible. :) |
## [1.20.1](v1.20.0...v1.20.1) (2022-11-13) ### Bug Fixes * Incorrect version is always printed incorrectly ([98b3607](98b3607)), closes [#136](#136)
🎉 This issue has been resolved in version 1.20.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 1.20.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi @bencekiss , pls check. Fixed on release |
Hey @svoboda-rabstvo thanks for the fix! |
@bencekiss you are welcome :) |
Bug report
Describe the bug
Running
ngx-translate-lint -v
with any accepted flags outputs the version of the containing package.json, not the version of the package itself.To Reproduce
Steps to reproduce the behavior:
Create new angular project:
ng new test-ngx-translate-lint
(or use an existing one)Run
npm install ngx-translate-lint -g
Navigate to the project's directory
Run
ngx-translate-lint -v
and it outputsCurrent version: 0.0.0
in the new projectUpdate this new project's package.json version to
1.1.1
ngx-translate-lint -v
will outputCurrent version: 1.1.1
Nitpick: this version number gets logged to the console on every cli run.
Expected behavior
Regardless of where
ngx-translate-lint -v
is run, it should always output thengx-translate-lint
version. If the latest version is installed, currently it should outputCurrent version: 1.20.0
. It also shouldn't always log the version number to the console.Screenshots
The text was updated successfully, but these errors were encountered: