Skip to content

Commit 0a1608d

Browse files
committed
Let the seam closure audit skip a tree with no data seam
1 parent f3e225d commit 0a1608d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/check-platform-design.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ function resolveSource(file: string, specifier: string): string | null {
777777
* modules at build time, so the walk stops at them the same way.
778778
*/
779779
function checkSeamClosure() {
780+
if (!existsSync(path.join(app, dataSeam))) return
780781
const config = 'platform/next.config.ts'
781782
const replaced = new Set(
782783
existsSync(path.join(app, config))

0 commit comments

Comments
 (0)