Skip to content

Commit d9c4d8c

Browse files
amondnetCopilot
andauthored
Update src/specify_cli/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 97bb199 commit d9c4d8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/specify_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def _should_skip_hook(hook: Path) -> bool:
698698
hook.name.endswith(".sample"))
699699

700700
def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None = None) -> None:
701-
"""Ensure POSIX .sh scripts under .specify/scripts and hooks under .specify/hooks have execute bits (no-op on Windows)."""
701+
"""Ensure executable files (with shebangs) under .specify/scripts (for .sh files) and .specify/hooks (for any file with a shebang, except sample files) have execute bits (no-op on Windows)."""
702702
if os.name == "nt":
703703
return # Windows: skip silently
704704

0 commit comments

Comments
 (0)