Skip to content

Commit

Permalink
Compare content independent of OS slash format (#48687)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Jan 12, 2024
1 parent 971ca2f commit 12f4948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame/lib/create-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// 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
}
throw new Error(
Expand Down

0 comments on commit 12f4948

Please sign in to comment.