From b33f5a432b0ccc80638c1e6a9f897f7e5bede3c4 Mon Sep 17 00:00:00 2001 From: HendrikRauh <114620133+HendrikRauh@users.noreply.github.com> Date: Sun, 8 Feb 2026 17:21:18 +0100 Subject: [PATCH] Improve error handling in update-flutter-nix.sh by using 'set -euo pipefail' --- update-flutter-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-flutter-nix.sh b/update-flutter-nix.sh index 53e97bea..1f605938 100755 --- a/update-flutter-nix.sh +++ b/update-flutter-nix.sh @@ -3,7 +3,7 @@ # This script adjusts flake.nix to use the flutter version # pinned in .fvmrc. It fetches the appropriate commit hash. -set -e +set -euo pipefail for cmd in jq curl sed nix; do command -v $cmd >/dev/null 2>&1 || { echo "Error: $cmd is not installed!"; exit 1; }