Revert "(E2E) Log which config file is used for next start" (#80666)

Reverts vercel/next.js#73105
This commit is contained in:
Jude Gao
2025-06-18 21:08:49 -04:00
committed by GitHub
parent 15f1c91553
commit 2ffdaafbe9
3 changed files with 1 additions and 9 deletions
-8
View File
@@ -1214,14 +1214,6 @@ export default async function loadConfig(
const path = await findUp(CONFIG_FILES, { cwd: dir })
if (process.env.__NEXT_TEST_MODE) {
if (path) {
Log.info(`Loading config from ${path}`)
} else {
Log.info('No config file found')
}
}
// If config file was found
if (path?.length) {
configFileName = basename(path)
+1
View File
@@ -659,6 +659,7 @@ describe('CLI Usage', () => {
expect(stdout).not.toMatch(/ready/i)
expect(stdout).not.toMatch('started')
expect(stdout).not.toMatch(`${port}`)
expect(stripAnsi(stdout).trim()).toBeFalsy()
})
test('Allow retry if default port is already in use', async () => {
@@ -1 +0,0 @@
module.exports = {}