mirror of
https://github.com/OthmanAdi/planning-with-files.git
synced 2026-04-26 00:16:01 +03:00
[PR #49] [MERGED] Fix Stop hook path resolution when CLAUDE_PLUGIN_ROOT is not set #66
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/planning-with-files#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OthmanAdi/planning-with-files/pull/49
Author: @fahmyelraie
Created: 1/21/2026
Status: ✅ Merged
Merged: 1/22/2026
Merged by: @OthmanAdi
Base:
master← Head:fix-stop-hook-path-resolution📝 Commits (1)
d019234Fix Stop hook path resolution when CLAUDE_PLUGIN_ROOT is not set📊 Changes
6 files changed (+15 additions, -10 deletions)
View changed files
📝
.codex/skills/planning-with-files/SKILL.md(+3 -2)📝
.cursor/skills/planning-with-files/SKILL.md(+3 -2)📝
.kilocode/skills/planning-with-files/SKILL.md(+3 -2)📝
.opencode/skills/planning-with-files/SKILL.md(+3 -2)📝
scripts/check-complete.sh(+0 -0)📝
skills/planning-with-files/SKILL.md(+3 -2)📄 Description
The Stop hook was failing with "No such file or directory" error when CLAUDE_PLUGIN_ROOT was not properly set in the environment, resulting in the script path resolving to "/scripts/check-complete.sh" instead of the full path.
Changes:
This ensures the Stop hook runs successfully even when CLAUDE_PLUGIN_ROOT is not available in the shell environment.
Fixes the error: "bash: /scripts/check-complete.sh: No such file or directory"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.