mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 05:55:17 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -135,7 +135,7 @@ export function interpolateColor(
|
||||
const gradient = tinygradient(color1, color2);
|
||||
const color = gradient.rgbAt(factor);
|
||||
return color.toHexString();
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
return color1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user