You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2023. It is now read-only.
In file .pre-commit-config.yaml i have set start file of application for testing of functionality hook.
- repo: https://github.com/Cretezy/flutter-format-pre-commit
rev: "master"
hooks:
- id: flutter-format
files: lib/src/app.dart # Only format source file
Intentionally I indent in the file and after that I commit, I get an error -
Commit failed with error
0 files committed, 1 file failed to commit: test hook
Format Flutter Code......................................................Failed
hookid: flutter-format
Files were modified by this hook. Additional output:
Formatted lib/src/app.dart
find: ‘> bin [’: No such file or directory