mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-04 18:31:36 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -195,7 +195,7 @@ function doesVersionExist({ args, version } = {}) {
|
||||
console.error(`Version ${version} already exists on NPM.`);
|
||||
return true;
|
||||
}
|
||||
} catch (_error) {
|
||||
} catch {
|
||||
// This is expected if the version doesn't exist.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user