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

sarif: currently formatter can not get correct version. #219

Open
azu opened this issue Mar 2, 2022 · 2 comments
Open

sarif: currently formatter can not get correct version. #219

azu opened this issue Mar 2, 2022 · 2 comments
Labels
Status: Proposal Request for comments

Comments

@azu
Copy link
Member

azu commented Mar 2, 2022

TODO: currently formatter can not get correct version.

Originally posted by @azu in #217 (comment)

should secretlint pass own version to formatter?

@azu azu added the Status: Proposal Request for comments label Mar 2, 2022
@nvuillam
Copy link
Contributor

it may be a little ugly but you could:

  • call secretlint --version from the formatter to get the version
    image

  • call npm list secretlint , and if no result, npm list secretlint -g from the formatter to get the version
    image

@Likeadiamondsajmon
Copy link

#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Proposal Request for comments
Projects
None yet
Development

No branches or pull requests

3 participants