mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
HTTP API for pinning plugin versions (#25105)
This commit is contained in:
@@ -38,6 +38,10 @@ check_fmt() {
|
||||
echo "--> The following files need to be reformatted with gofumpt"
|
||||
printf '%s\n' "${malformed[@]}"
|
||||
echo "Run \`make fmt\` to reformat code."
|
||||
for file in "${malformed[@]}"; do
|
||||
gofumpt -w "$file"
|
||||
echo "$(git diff --no-color "$file")"
|
||||
done
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user