chore(lint): manual fixes - remove redundant global declarations; add safe getMethod fallback; remove unused catch vars
This commit is contained in:
@@ -15,7 +15,7 @@ async function readPackageVersion() {
|
||||
if (packageJson?.version) {
|
||||
return String(packageJson.version)
|
||||
}
|
||||
} catch (_error) {
|
||||
} catch {
|
||||
// Try next candidate path (e.g. .output runtime)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user