mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 15:09:27 +08:00
fix: instance id add line break
This commit is contained in:
parent
26655f2238
commit
f54dae2e66
@ -32,7 +32,7 @@ module.exports = (cli) => {
|
|||||||
}
|
}
|
||||||
const filePath = path.resolve(dir, 'InstanceID');
|
const filePath = path.resolve(dir, 'InstanceID');
|
||||||
const instanceId = await getInstanceIdAsync();
|
const instanceId = await getInstanceIdAsync();
|
||||||
fs.writeFileSync(filePath, instanceId);
|
fs.writeFileSync(filePath, instanceId + '\n');
|
||||||
console.log(chalk.greenBright(`InstanceID saved to ${filePath}`));
|
console.log(chalk.greenBright(`InstanceID saved to ${filePath}`));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user