Skip to content

Commit 590bf63

Browse files
authored
fix crash when not found is not there (#674)
1 parent 1ece6b4 commit 590bf63

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)