fix: instance id add line break

This commit is contained in:
Jian Lu 2025-04-15 16:21:07 +08:00
parent 26655f2238
commit f54dae2e66

View File

@ -32,7 +32,7 @@ module.exports = (cli) => {
}
const filePath = path.resolve(dir, 'InstanceID');
const instanceId = await getInstanceIdAsync();
fs.writeFileSync(filePath, instanceId);
fs.writeFileSync(filePath, instanceId + '\n');
console.log(chalk.greenBright(`InstanceID saved to ${filePath}`));
} catch (e) {
console.log(e);