chore: run shfmt

This commit is contained in:
Jose Diaz-Gonzalez
2022-07-25 01:15:32 -04:00
parent a5b9bd6089
commit 725ec8ff59
11 changed files with 9 additions and 15 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