fix: restore CLI validation and test baseline (#1857)
Fixed lazy CLI helper imports for tunnel flows Restored update command version detection Made web test and dead-code commands run reliably
This commit is contained in:
@@ -621,7 +621,7 @@ export function getUpdateCommand(pm = detectPackageManager()) {
|
||||
/**
|
||||
* Get current installed version from package.json
|
||||
*/
|
||||
function getCurrentVersion() {
|
||||
export function getCurrentVersion() {
|
||||
try {
|
||||
const pkgPath = path.resolve(__dirname, '..', '..', 'package.json');
|
||||
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
|
||||
|
||||
Reference in New Issue
Block a user