Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0438042

Browse files
committed
chore: drop unneeded process.cwd() usage
1 parent 36cf522 commit 0438042

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
@@ -210,7 +210,7 @@ const copyHandlerDependenciesForNodeMiddleware = async (ctx: PluginContext) => {
210210

211211
const entry = 'server/middleware.js'
212212
const nft = `${entry}.nft.json`
213-
const nftFilesPath = join(process.cwd(),ctx.distDir, nft)
213+
const nftFilesPath = join(ctx.distDir, nft)
214214
const nftManifest = JSON.parse(await readFile(nftFilesPath, 'utf8'))
215215

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /