Skip to content

Commit 4f9e855

Browse files
committed
ci/tag-maintainers: exit if nix fails
1 parent 3708f78 commit 4f9e855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/tag-maintainers/extract-maintainers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run_nix_eval(file: str, *args: str) -> str:
2727
except subprocess.CalledProcessError as e:
2828
print(f"Error running Nix evaluation: {e}", file=sys.stderr)
2929
print(f"Stderr: {e.stderr}", file=sys.stderr)
30-
return "[]"
30+
sys.exit()
3131

3232

3333
def extract_maintainers(changed_files: List[str], pr_author: str) -> List[str]:

0 commit comments

Comments
 (0)