Skip to content

Commit 25b69a7

Browse files
amondnetCopilot
andcommitted
Update src/specify_cli/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ffaed31 commit 25b69a7

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
@@ -722,7 +722,7 @@ def _should_skip_hook(hook: Path) -> bool:
722722
hook.name.endswith(".sample"))
723723

724724
def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None = None) -> None:
725-
"""Ensure POSIX .sh scripts under .specify/scripts and hooks under .specify/hooks have execute bits (no-op on Windows)."""
725+
"""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)."""
726726
if os.name == "nt":
727727
return # Windows: skip silently
728728

0 commit comments

Comments
 (0)