@spardutti/claude-skills 1.24.0 → 1.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/setup-hook.mjs +2 -2
- package/package.json +1 -1
package/lib/setup-hook.mjs
CHANGED
|
@@ -70,9 +70,9 @@ export async function setupHook(targetDir = process.cwd()) {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// --- UserPromptSubmit hook (forced eval via command) ---
|
|
73
|
-
const
|
|
73
|
+
const hookCommand = `$CLAUDE_PROJECT_DIR/.claude/hooks/${HOOK_FILENAME}`;
|
|
74
74
|
const promptHookEntry = {
|
|
75
|
-
hooks: [{ type: "command", command:
|
|
75
|
+
hooks: [{ type: "command", command: hookCommand }],
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
if (Array.isArray(settings.hooks.UserPromptSubmit)) {
|