Skip to content

Commit 3de1259

Browse files
committed
fix crash when not found is not there
1 parent 3f85a90 commit 3de1259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/open-next/src/build/copyTracedFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ File ${fullFilePath} does not exist
136136
computeCopyFilesForPage(pagePath);
137137
} catch (e) {
138138
if (alternativePath) {
139-
computeCopyFilesForPage(alternativePath);
139+
safeComputeCopyFilesForPage(alternativePath);
140140
}
141141
}
142142
};

0 commit comments

Comments
 (0)