mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
修复replaceAll方法
This commit is contained in:
parent
49088f0d3a
commit
b78b382ba1
|
@ -220,7 +220,7 @@ export default class EnvService {
|
||||||
const group = groups[key];
|
const group = groups[key];
|
||||||
env_string += `export ${key}="${_.map(group, 'value')
|
env_string += `export ${key}="${_.map(group, 'value')
|
||||||
.join('&')
|
.join('&')
|
||||||
.replaceAll(' ', '')}"\n`;
|
.replace(/ /g, '')}"\n`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fs.writeFileSync(config.envFile, env_string);
|
fs.writeFileSync(config.envFile, env_string);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user