mirror of
https://github.com/containers/skopeo.git
synced 2025-07-05 19:06:54 +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
|
#!/bin/bash
|
||||||
|
|
||||||
source "$(dirname "$BASH_SOURCE")/.validate"
|
|
||||||
|
|
||||||
IFS=$'\n'
|
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
|
unset IFS
|
||||||
|
|
||||||
badFiles=()
|
badFiles=()
|
||||||
|
Loading…
Reference in New Issue
Block a user