mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-12 02:19:49 +08:00
8 lines
169 B
Bash
Executable File
8 lines
169 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
FORMAT_ISSUES=$(flutter format --set-exit-if-changed -n .)
|
|
if [ $? -eq 1 ]; then
|
|
echo "flutter format issues on"
|
|
echo $FORMAT_ISSUES
|
|
exit 1
|
|
fi |