secretlint icon indicating copy to clipboard operation
secretlint copied to clipboard

sarif: currently formatter can not get correct version.

Open azu opened this issue 2 years ago • 2 comments

TODO: currently formatter can not get correct version.

Originally posted by @azu in https://github.com/secretlint/secretlint/pull/217#discussion_r817496094

should secretlint pass own version to formatter?

azu avatar Mar 02 '22 09:03 azu

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

nvuillam avatar Mar 10 '22 23:03 nvuillam

#217

Likeadiamondsajmon avatar Dec 17 '22 05:12 Likeadiamondsajmon