Skip to content

Commit b5a3269

Browse files
committed
fix: nft reading to work in integration tests
1 parent 182b683 commit b5a3269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/functions/edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export const createEdgeHandlers = async (ctx: PluginContext) => {
218218

219219
const fakeNodeModulePath = ctx.resolveFromPackagePath(join('node_modules', fakeNodeModuleName))
220220

221-
const nftFilesPath = join(ctx.nextDistDir, nft)
221+
const nftFilesPath = join(process.cwd(), ctx.nextDistDir, nft)
222222
const nftManifest = JSON.parse(await readFile(nftFilesPath, 'utf8'))
223223

224224
const files: string[] = nftManifest.files.map((file: string) => join('server', file))

0 commit comments

Comments
 (0)