Skip to content

Commit

Permalink
gate conflicting error
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Nov 3, 2022
1 parent de59322 commit 133f36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/server/dev/next-dev-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export default class DevServer extends Server {
fileName
)

if (pageNameSet.has(pageName)) {
if (this.appDir && pageNameSet.has(pageName)) {
conflictingAppPagePaths.add(pageName)
} else {
pageNameSet.add(pageName)
Expand Down

0 comments on commit 133f36a

Please sign in to comment.