Use canonical hook file root for metadata reads
This commit is contained in:
parent
9ec1f01b5a
commit
24daa04d67
@ -223,7 +223,7 @@ export function loadHookEntriesFromDir(params: {
|
||||
let frontmatter: ParsedHookFrontmatter = {};
|
||||
const raw = readBoundaryFileUtf8({
|
||||
absolutePath: hook.filePath,
|
||||
rootPath: hook.baseDir,
|
||||
rootPath: path.dirname(hook.filePath),
|
||||
boundaryLabel: "hook directory",
|
||||
});
|
||||
if (raw !== null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user