mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -263,7 +263,7 @@ function validateCollectionItems(items) {
|
||||
|
||||
// Validate hook-specific frontmatter
|
||||
if (item.kind === "hook") {
|
||||
const hookValidation = validateHookFile(filePath, i + 1);
|
||||
const hookValidation = validateHookFile(filePath);
|
||||
if (hookValidation) {
|
||||
return hookValidation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user