Unverified Commit 882aa6d1 authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

fix(next-lint): do not pass absolute path to distDir (#62797)

This PR reverts part of #61877 passing an absolute path to the distDir
value when running `next lint`.

Fixes #62796
Co-authored-by: 's avatarSam Ko <sam@vercel.com>
parent a1c9c3b9
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment