We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63391b1 commit c9a3217Copy full SHA for c9a3217
src/index.js
@@ -116,9 +116,6 @@ module.exports = {
116
117
console.log('Writing updated config to publish dir...')
118
const config_out = toml.stringify(netlifyConfig)
119
- await fs.writeFile(
120
- path.join(netlifyConfig.build.publish, 'netlify.toml'),
121
- config_out,
122
- )
+ await fs.writeFile(path.join(process.cwd(), 'netlify.toml'), config_out)
123
},
124
}
0 commit comments