mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 00:47:29 -06:00
SDA-3800 - Ignore config copy issue for global installed SDA (#1470)
This commit is contained in:
parent
c36c71d6e0
commit
becc778c1f
@ -610,10 +610,17 @@ class Config {
|
||||
* Overwrites the global config file with the backed up config file
|
||||
*/
|
||||
public copyGlobalConfig() {
|
||||
try {
|
||||
if (fs.existsSync(this.tempGlobalConfigFilePath)) {
|
||||
fs.copyFileSync(this.tempGlobalConfigFilePath, this.globalConfigPath);
|
||||
fs.unlinkSync(this.tempGlobalConfigFilePath);
|
||||
}
|
||||
} catch (e) {
|
||||
logger.error(
|
||||
`config-handler: unable to backup global config file error: `,
|
||||
e,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user