Skip to content

Commit d2b12a7

Browse files
committed
style: update message to a warning to highlight potential misconfiguration
1 parent 38c8637 commit d2b12a7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hooks/pre-exit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ if [[ "${builder_remove}" == true ]]; then
4242
docker buildx stop "${builder_name}"
4343
docker buildx rm "${builder_name}" ${builder_remove_args:+${builder_remove_args[@]}}
4444
else
45-
echo "~~~ :docker: Cannot remove Builder Instance '${builder_name}' as does not exist"
45+
echo "~~~ :warning: Cannot remove Builder Instance '${builder_name}' as does not exist"
4646
fi
4747
fi

tests/builder-instances.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,5 +183,5 @@ teardown() {
183183
run "$PWD"/hooks/pre-exit
184184

185185
assert_success
186-
assert_output "~~~ :docker: Cannot remove Builder Instance 'builder-name' as does not exist"
186+
assert_output "~~~ :warning: Cannot remove Builder Instance 'builder-name' as does not exist"
187187
}

0 commit comments

Comments
 (0)