secretlint
secretlint copied to clipboard
sarif: currently formatter can not get correct version.
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?
it may be a little ugly but you could:
-
call
secretlint --version
from the formatter to get the version -
call
npm list secretlint
, and if no result,npm list secretlint -g
from the formatter to get the version
#217