Skip to content

Commit 80b0967

Browse files
author
Lukas Holzer
authoredJul 3, 2024··
fix: revert config mutation passing (#5752)
1 parent fbfdb99 commit 80b0967

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎packages/build/src/core/config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,15 @@ const logConfigInfo = function ({ logs, configPath, buildDir, netlifyConfig, con
138138
// change would create debug logs which would be too verbose.
139139
// Errors are propagated and assigned to the specific plugin or core step
140140
// which changed the configuration.
141+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
141142
export const resolveUpdatedConfig = async function (configOpts, configMutations, cachedConfig) {
142143
try {
143144
return await resolveConfig({
144145
...configOpts,
145146
configMutations,
146-
cachedConfig,
147+
// TODO: remove cached Config here again as this causes tests to fail in the CLI
148+
// Currently investigating the root cause.
149+
// cachedConfig,
147150
debug: false,
148151
})
149152
} catch (error) {

0 commit comments

Comments
 (0)
Please sign in to comment.