Fix auth + cli -V not picking up package json (#14934)

- Auth was failing, GQL query was not well formatted
- -V was not working as expected and was reading hardcoded version
instead of package.json
- CommanderError due to early exit (with -V for example) were thrown and
logged, now not logging those
This commit is contained in:
Weiko
2025-10-07 11:46:23 +02:00
committed by GitHub
parent f0ad005f8f
commit 337f1a98a8
2 changed files with 13 additions and 3 deletions
@@ -57,7 +57,8 @@ export class ApiService {
const query = `
query CurrentWorkspace {
currentWorkspace {
id
id
}
}
`;