mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 06:31:01 -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');
|
||||
} catch {
|
||||
} catch (error) {
|
||||
// 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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user