sastraxi/pgsh

Metrics doesn't record the correct pgsh version

Closed this issue · 1 comments

Right now, it's recording the version of the package.json found by find-config, which is probably going to be the version number of whatever project the user is working on.

Perhaps we can use some of the logic here, as pgsh --version returns the correct version string: https://github.com/yargs/yargs/blob/0891d0ed35b30c83a6d9e9f6a5c5f84d13c546a0/yargs.js#L523

Retiring metrics, so closing this issue.