mirror of
https://github.com/containers/skopeo.git
synced 2025-04-28 03:10:18 +00:00
Run gofmt on all files, not just the changed ones
... so that if we upgrade gofmt, the updates need happen immediately. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
82268ea8bf
commit
85fef03670
@ -1,9 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname "$BASH_SOURCE")/.validate"
|
||||
|
||||
IFS=$'\n'
|
||||
files=( $(validate_diff --diff-filter=ACMR --name-only -- '*.go' | grep -v '^vendor/' || true) )
|
||||
files=( $(find . -name '*.go' | grep -v '^./vendor/' | sort || true) )
|
||||
unset IFS
|
||||
|
||||
badFiles=()
|
||||
|
Loading…
Reference in New Issue
Block a user