From fc294bcede49f1f28ef528e973d1a14f47b4a630 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sat, 7 Feb 2026 20:07:55 +0900 Subject: [PATCH] chore: drop interactive prompt in hook --- scripts/untracked.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/untracked.py b/scripts/untracked.py index c116931..f53714d 100644 --- a/scripts/untracked.py +++ b/scripts/untracked.py @@ -12,8 +12,5 @@ with open(".gitignore", "r") as f: untracked = [os.path.basename(line.rstrip()) for line in result.stdout] for file in untracked: if not any(file in item for item in ignored): - res = input(f"File '{file}' is untracked. Proceed anyway? [Y/n] ") - if res.lower() in ("", "y"): - sys.exit(0) - else: - sys.exit(1) + print(f"File '{file}' is untracked. Add to .gitignore file if this is intended.") + sys.exit(1)