Skip to content

Commit c9a3217

Browse files
committed
Place config file in working dir
1 parent 63391b1 commit c9a3217

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ module.exports = {
116116

117117
console.log('Writing updated config to publish dir...')
118118
const config_out = toml.stringify(netlifyConfig)
119-
await fs.writeFile(
120-
path.join(netlifyConfig.build.publish, 'netlify.toml'),
121-
config_out,
122-
)
119+
await fs.writeFile(path.join(process.cwd(), 'netlify.toml'), config_out)
123120
},
124121
}

0 commit comments

Comments
 (0)