mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Revert "(E2E) Log which config file is used for next start" (#80666)
Reverts vercel/next.js#73105
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 = {}
|
||||
Reference in New Issue
Block a user