From 232e88f10760fc677db7eeb95e4df1088cd6d811 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Sat, 2 Sep 2023 02:19:49 +0200 Subject: [PATCH] fix lint --- packages/next/src/cli/next-dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/cli/next-dev.ts b/packages/next/src/cli/next-dev.ts index 7f36bc4a550d5..34aa5d1438a1e 100644 --- a/packages/next/src/cli/next-dev.ts +++ b/packages/next/src/cli/next-dev.ts @@ -348,7 +348,7 @@ const nextDev: CliCommand = async (argv) => { ...devServerOptions, isDev: true, }) - const distDir = path.join(dir, rawNextConfig.distDir || '.next') + const { pagesDir, appDir } = findPagesDir(dir) const telemetry = new Telemetry({ distDir,