mirror of https://github.com/grafana/grafana.git
Lefthook: ensure we're adding the results file in betterer precommit (#103398)
* test to check it's committing * undo test change * only commit if betterer precommit succeeds
This commit is contained in:
parent
5e02532073
commit
254286ecaa
|
@ -13,7 +13,7 @@ pre-commit:
|
|||
frontend-betterer:
|
||||
glob: '*.{ts,tsx}'
|
||||
run: |
|
||||
yarn betterer precommit {staged_files}
|
||||
yarn betterer precommit {staged_files} && git add ./.betterer.results
|
||||
stage_fixed: true
|
||||
|
||||
frontend-lint:
|
||||
|
|
Loading…
Reference in New Issue