1
0
mirror of synced 2025-12-20 10:28:40 -05:00

Compare content independent of OS slash format (#48687)

This commit is contained in:
Peter Bengtsson
2024-01-12 14:34:09 -05:00
committed by GitHub
parent 971ca2f36b
commit 12f494858f

View File

@@ -35,7 +35,7 @@ export default async function createTree(originalPath, rootPath, previousTree) {
} }
// Throw an error if we can't find a content file associated with the children: entry. // Throw an error if we can't find a content file associated with the children: entry.
// But don't throw an error if the user is running the site locally and hasn't cloned the Early Access repo. // But don't throw an error if the user is running the site locally and hasn't cloned the Early Access repo.
if (originalPath === path.join('content', 'early-access')) { if (originalPath === 'content/early-access') {
return return
} }
throw new Error( throw new Error(