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