Unverified Commit 704a24a7 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: do not log the changes for local dev tsconfig (#74674)

Follow up on #74647 , do not log this changes during dev
parent 72051802
...@@ -332,6 +332,17 @@ export async function writeConfigurationDefaults( ...@@ -332,6 +332,17 @@ export async function writeConfigurationDefaults(
return return
} }
if (process.env.NEXT_PRIVATE_LOCAL_DEV) {
// remove it from the required actions if it exists
if (
requiredActions[requiredActions.length - 1].includes(
'Local development only'
)
) {
requiredActions.pop()
}
}
await fs.writeFile( await fs.writeFile(
tsConfigPath, tsConfigPath,
CommentJson.stringify(userTsConfig, null, 2) + os.EOL CommentJson.stringify(userTsConfig, null, 2) + os.EOL
......
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