mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-12 21:52:57 +00:00
When testing gosuper formatting, don't check the vendor directory
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
parent
d21c7faf4e
commit
84062565c4
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for dir in $(find ./* -path ./Godeps -prune -or -type d -print); do
|
||||
for dir in $(find ./* -path ./vendor -prune -or -type d -print); do
|
||||
errormessage=$(gofmt -l $dir)
|
||||
if [ -n "$errormessage" ]; then
|
||||
echo "$errormessage"
|
||||
|
Loading…
x
Reference in New Issue
Block a user