From edda4997e01d05ffa3759de98c9c3de76f60c04c Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 30 Aug 2023 17:45:48 +0200 Subject: [PATCH] Revert boolean() changes --- packages/next/src/cli/next-lint.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/next/src/cli/next-lint.ts b/packages/next/src/cli/next-lint.ts index be33c14ab48fd..3370cfc53397e 100755 --- a/packages/next/src/cli/next-lint.ts +++ b/packages/next/src/cli/next-lint.ts @@ -195,8 +195,8 @@ const nextLint: CliCommand = async (argv) => { typeCheckPreflight: false, tsconfigPath: nextConfig.typescript.tsconfigPath, disableStaticImages: nextConfig.images.disableStaticImages, - hasAppDir: Boolean(appDir), - hasPagesDir: Boolean(pagesDir), + hasAppDir: !!appDir, + hasPagesDir: !!pagesDir, }) runLintCheck(baseDir, pathsToLint, hasAppDir, {