Skip to content

Commit

Permalink
fix: do not pass absolute path to distDir
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Mar 4, 2024
1 parent bd28752 commit c42b1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/cli/next-lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const nextLint = async (options: NextLintOptions, directory?: string) => {

await verifyTypeScriptSetup({
dir: baseDir,
distDir: distDir,
distDir: nextConfig.distDir,
intentDirs: [pagesDir, appDir].filter(Boolean) as string[],
typeCheckPreflight: false,
tsconfigPath: nextConfig.typescript.tsconfigPath,
Expand Down

0 comments on commit c42b1ea

Please sign in to comment.