Revert "Only write config file during postinstall if process env variables are present (#91793)"
This reverts commit b2b488fa43
.
This commit is contained in:
parent
db28209bf2
commit
1f720ae43a
1 changed files with 1 additions and 3 deletions
|
@ -20,9 +20,7 @@ function main() {
|
|||
}
|
||||
}
|
||||
|
||||
if (Object.keys(content).length > 0) {
|
||||
fs.writeFileSync(path.join(__dirname, '../src/common/config.json'), JSON.stringify(content));
|
||||
}
|
||||
fs.writeFileSync(path.join(__dirname, '../src/common/config.json'), JSON.stringify(content));
|
||||
}
|
||||
|
||||
main();
|
||||
|
|
Loading…
Reference in a new issue