Skip to content

Commit 1a06282

Browse files
authored
fix(lint): Fixes silent pass for formatting mistakes in gh ci (google-gemini#10489)
1 parent 7db79e1 commit 1a06282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function runYamllint() {
170170

171171
export function runPrettier() {
172172
console.log('\nRunning Prettier...');
173-
if (!runCommand('prettier --write .')) {
173+
if (!runCommand('prettier --check .')) {
174174
process.exit(1);
175175
}
176176
}

0 commit comments

Comments
 (0)