Potential fix for code scanning alert no. 14: Clear-text logging of sensitive information (#405)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
yuyutaotao 2025-02-20 11:52:31 +08:00 committed by GitHub
parent e459fae751
commit badc7cfec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ async function main() {
await pushToGithub(selectVersion);
}
} catch (error) {
console.error(chalk.red(`Error during release process: ${error.message}`));
console.error(chalk.red('An error occurred during the release process. Please check the logs for more details.'));
await cleanup();
process.exit(1); // Exit with failure
}