chore: run shfmt

This commit is contained in:
Jose Diaz-Gonzalez
2022-07-25 01:15:32 -04:00
parent 2909ba7a9b
commit d5a4cddc3f
10 changed files with 8 additions and 13 deletions

View File

@@ -50,8 +50,8 @@ EOL
if [[ ! -f "$SERVICE_ROOT/IMAGE" ]] || [[ ! -f "$SERVICE_ROOT/IMAGE_VERSION" ]]; then
local image="$(service_version "$SERVICE")"
if [[ "$image" == *":"* ]]; then
echo "${image%:*}" > "$SERVICE_ROOT/IMAGE"
echo "${image##*:}" > "$SERVICE_ROOT/IMAGE_VERSION"
echo "${image%:*}" >"$SERVICE_ROOT/IMAGE"
echo "${image##*:}" >"$SERVICE_ROOT/IMAGE_VERSION"
fi
fi