From 5d4908d2e2fcc4067e7432d9d5197930cb7e8cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sun, 18 Feb 2024 14:12:32 +0100 Subject: [PATCH] update-local-flakes: Fail early --- hm/rebuild/update-local-flakes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hm/rebuild/update-local-flakes.py b/hm/rebuild/update-local-flakes.py index 8833695..51723f4 100755 --- a/hm/rebuild/update-local-flakes.py +++ b/hm/rebuild/update-local-flakes.py @@ -51,7 +51,8 @@ def process_flake(flake: str) -> None: "--update-input", dep_name, ] - subprocess.run(cmd, cwd=dir) + p = subprocess.run(cmd, cwd=dir) + p.check_returncode() if __name__ == "__main__":