mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 10:34:35 -07:00
Disallow and suppress unsafe assignment (#19736)
This commit is contained in:
committed by
GitHub
parent
b746524a1b
commit
58d637f919
@@ -115,6 +115,7 @@ export function SettingsDialog({
|
||||
}
|
||||
|
||||
const doSearch = async () => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const results = await fzfInstance.find(searchQuery);
|
||||
|
||||
if (!active) return;
|
||||
|
||||
@@ -451,6 +451,7 @@ Return a JSON object with:
|
||||
'--limit',
|
||||
String(limit),
|
||||
]);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const issues: Issue[] = JSON.parse(stdout);
|
||||
if (issues.length === 0) {
|
||||
setState((s) => ({
|
||||
|
||||
@@ -137,6 +137,7 @@ export const TriageIssues = ({
|
||||
'--limit',
|
||||
String(limit),
|
||||
]);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const issues: Issue[] = JSON.parse(stdout);
|
||||
if (issues.length === 0) {
|
||||
setState((s) => ({
|
||||
|
||||
Reference in New Issue
Block a user