Skip to content

fix(scripts): lint all shell files in CI, fix uninstall for dual configs#4

Merged
taigrr merged 1 commit intomasterfrom
cd/improve-scripts
Apr 12, 2026
Merged

fix(scripts): lint all shell files in CI, fix uninstall for dual configs#4
taigrr merged 1 commit intomasterfrom
cd/improve-scripts

Conversation

@taigrr
Copy link
Copy Markdown
Owner

@taigrr taigrr commented Apr 12, 2026

Changes

  • CI: shellcheck workflow now lints install.sh and uninstall.sh (previously only hook scripts were checked)
  • uninstall.sh: Fixed elif logic — if both core.hooksPath and init.templateDir are set, both are now cleared (previously only one was removed)
  • install.sh: Added --check flag to inspect current hooks configuration without modifying anything
  • README: Documented the --check usage

- shellcheck CI now lints install.sh and uninstall.sh (previously missed)
- uninstall.sh: use separate if blocks instead of elif so both
  core.hooksPath and init.templateDir are cleared when both are set
- install.sh: add --check flag to inspect current hooks configuration
- README: document --check usage
@taigrr taigrr merged commit 46f6109 into master Apr 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant