Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] Replace console.log with process.stderr #643

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/sslUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ async function createAndInstallCertificate(keyPath, certPath) {
// the created certificate into the system)
// TODO: Prompt and logging should happen in CLI module rather than server
if (process.platform === "win32") {
/* eslint-disable-next-line no-console */
console.log("Please press allow in the opened dialog to confirm importing the newly created " +
process.stderr.write("Please press allow in the opened dialog to confirm importing the newly created " +
"SSL certificate into the operating system and browsers.");
process.stderr.write("\n");
} else {
/* eslint-disable-next-line no-console */
console.log("Please enter your root password to allow importing the newly created " +
process.stderr.write("Please enter your root password to allow importing the newly created " +
"SSL certificate into the operating system and browsers.");
process.stderr.write("\n");
}

const {key, cert} = await devCert("UI5Tooling");
Expand Down
Loading