fix: 修复插件配置和 hooks 脚本路径问题 #7
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题概述
修复插件市场配置的两类问题:
变更内容
1. 补全插件配置信息
email-notify和project-structure插件条目category:开发工具 / 生产力工具tags:搜索关键词homepage:GitHub 项目地址license:MIT 许可证2. 修复 hooks.json 脚本路径
✅ email-notify/hooks/hooks.json
./scripts/on_task_complete.sh→./hooks/scripts/on_task_complete.sh✅ ohos-porting/hooks/hooks.json(修复 3 个 hook)
./scripts/detect_ohos_context.sh→./hooks/scripts/detect_ohos_context.sh./scripts/on_compile_error.sh→./hooks/scripts/on_compile_error.sh./scripts/on_session_end.sh→./hooks/scripts/on_session_end.sh技术细节
问题根因:
./hooks/scripts/,使用绝对相对路径(相对于插件根目录)解决验证:
测试计划
🤖 Generated with Claude Code