mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-29 03:06:35 -05:00
/go/{store, utils}: formatting
This commit is contained in:
@@ -10,7 +10,7 @@ paths=`find . -maxdepth 1 -mindepth 1 \( -type d -print -o -type f -name '*.go'
|
||||
goimports -w -local github.com/dolthub/dolt,github.com/dolthub/eventsapi_schema $paths
|
||||
|
||||
bad_files=$(find $paths -name '*.go' | while read f; do
|
||||
if [[ $(awk '/import \(/{flag=1;next}/\)/{flag=0}flag' < $f | egrep -c '$^') -gt 2 ]]; then
|
||||
if [[ $(awk '/import \(/{flag=1;next}/\)/{flag=0}flag' < $f | grep -Ec '$^') -gt 2 ]]; then
|
||||
echo $f
|
||||
fi
|
||||
done)
|
||||
|
||||
Reference in New Issue
Block a user