mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 23:14:32 -07:00
ci(evals): add error logging to trigger script
This commit is contained in:
@@ -34,8 +34,12 @@ function main() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
console.log(shouldRun ? 'true' : 'false');
|
console.log(shouldRun ? 'true' : 'false');
|
||||||
} catch {
|
} catch (error) {
|
||||||
// If anything fails (e.g., no git history), run evals to be safe
|
// If anything fails (e.g., no git history), run evals to be safe
|
||||||
|
console.warn(
|
||||||
|
'Warning: Failed to determine if evals should run. Defaulting to true.',
|
||||||
|
);
|
||||||
|
console.error(error);
|
||||||
console.log('true');
|
console.log('true');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user