mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
🐛 Fix cli package json after ts build change (#4957)
* fix cli package json after ts build change * release ntoes
This commit is contained in:
@@ -52,7 +52,7 @@ if (values.help) {
|
||||
|
||||
if (values.version) {
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const packageJsonPath = resolve(__dirname, '../package.json');
|
||||
const packageJsonPath = resolve(__dirname, '../../package.json');
|
||||
const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
|
||||
|
||||
console.log('v' + packageJson.version);
|
||||
|
||||
Reference in New Issue
Block a user