We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1829579 commit cacf064Copy full SHA for cacf064
hack/update-operator-dev-deployment.sh
@@ -22,7 +22,8 @@
22
23
# Usually it is better to write a test, than to use this script.
24
25
-trap 'echo "Warning: A command has failed. Exiting the script. Line was ($0:$LINENO): $(sed -n "${LINENO}p" "$0")"; exit 3' ERR
+# Bash Strict Mode: https://github.com/guettli/bash-strict-mode
26
+trap 'echo -e "\n🤷 🚨 🔥 Warning: A command has failed. Exiting the script. Line was ($0:$LINENO): $(sed -n "${LINENO}p" "$0" 2>/dev/null || true) 🔥 🚨 🤷 "; exit 3' ERR
27
set -Eeuo pipefail
28
29
if [[ $(kubectl config current-context) == *oidc@* ]]; then
0 commit comments