Closed lindluni closed 2 years ago
What version of this package are you using?
12.0.0
What operating system, Node.js, and npm version?
OSX, Node v16.15.0, NPM 8.19.2
What happened?
The --version flag is requiring the tsconfig.json be passed in to provide the version.
--version
tsconfig.json
What did you expect to happen?
The --version flag should work by simply running ts-standard --version and not require ts-standard --version --project <path-to-config>
ts-standard --version
ts-standard --version --project <path-to-config>
Are you willing to submit a pull request to fix this bug?
Yes, if I can figure it out
Fixed by #264.
What version of this package are you using?
12.0.0
What operating system, Node.js, and npm version?
OSX, Node v16.15.0, NPM 8.19.2
What happened?
The
--version
flag is requiring thetsconfig.json
be passed in to provide the version.What did you expect to happen?
The
--version
flag should work by simply runningts-standard --version
and not requirets-standard --version --project <path-to-config>
Are you willing to submit a pull request to fix this bug?
Yes, if I can figure it out