Repository navigation
fix: filter syntax check by shebang to skip python3/zsh files - #140
dsaikou618 wants to merge 3 commits into
Conversation
3aba915 to
9b3263a
Compare
|
The shebang filter is the right idea but the regex only matches a shebang line ending exactly in "bash" or "sh": This PR is also stacked on #139's unmerged branch, so the diff here includes all of that PR's open issues too - worth rebasing once #139 lands. |
|
Closing: the unique fix here is already on The Everything else in this PR is the shared profiles base it has in common with #139 and #141, which carries four reverts against current Generated by Claude Code |
The script previously ran on all files found in the stow directories, including python3 and zsh scripts which would false-positive as syntax errors.
This fix adds a shebang filter: which skips files that don't have a bash/sh shebang, so only actual bash shell scripts are checked.
Closes the false-positive issue where python3 and zsh scripts in the stow tree would trigger syntax error reports.