mirror of https://github.com/linkerd/linkerd2.git
bin/fmt: Fix shellcheck issue (#4438)
Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
parent
6f1654a65d
commit
30ba9a1261
|
@ -80,7 +80,6 @@ jobs:
|
|||
run: |
|
||||
find ./bin -type f \
|
||||
! -name docker-build-proxy \
|
||||
! -name fmt \
|
||||
! -name lint \
|
||||
! -name _log.sh \
|
||||
! -name minikube-start-hyperv.bat \
|
||||
|
|
2
bin/fmt
2
bin/fmt
|
@ -8,7 +8,7 @@ dirs=$(go list -f \{\{.Dir\}\} ./... | grep -v controller/gen)
|
|||
# go list will list all subdirectories and goimports acts recursively. This
|
||||
# results in certain files being reported multiple time. Therefore, we must
|
||||
# dedup them.
|
||||
files=$(bin/goimports -l $dirs | sort -u)
|
||||
files=$(bin/goimports -l "$dirs" | sort -u)
|
||||
|
||||
if [ -n "$files" ]; then
|
||||
for file in $files; do
|
||||
|
|
Loading…
Reference in New Issue