update-local-flakes: Fail early

This commit is contained in:
Geoffrey Frogeye 2024-02-18 14:12:32 +01:00
parent ee4e45905a
commit 5d4908d2e2
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -51,7 +51,8 @@ def process_flake(flake: str) -> None:
"--update-input", "--update-input",
dep_name, dep_name,
] ]
subprocess.run(cmd, cwd=dir) p = subprocess.run(cmd, cwd=dir)
p.check_returncode()
if __name__ == "__main__": if __name__ == "__main__":