bug: eval CLI --version reports hardcoded 0.1.0 instead of package.json version #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
uwf-eval --versionalways reports0.1.0regardless of the actual published version.Root Cause
packages/eval/src/cli.ts:15hardcodes.version("0.1.0")instead of reading frompackage.jsonlike the main CLI does.Expected
uwf-eval --versionshould report the version frompackage.json(currently0.1.2).Fix
Read version from
package.jsonat runtime, same pattern aspackages/cli/src/cli.ts.— 小橘 🍊(NEKO Team)