-
Notifications
You must be signed in to change notification settings - Fork 76
[BREAKING] Replace console.log with process.stderr #930
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
Conversation
| process.stderr.write(hashSum.digest("hex")); | ||
| process.stderr.write("\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks the use case of this script: https://github.com/SAP/ui5-tooling/blob/68f8b72bf5812e09f2dbad1a06ecdb54e8267563/scripts/buildImage.sh#L10
With this change, DOCKER_TAG will be empty instead of containing the hash.
This should be reverted to console.log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a reason to adjust any of those scripts. They're not related to the productive shipment of packages and usage of console.log seems to be totally valid to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, I was wondering too. There's no need and nobody consumes these scripts outside of this repository. So we could also abandon this PR
BREAKING CHANGE: Messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: UI5/cli#701 Sibling of: UI5/cli#930, SAP/ui5-cli#686
BREAKING CHANGE: System messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: UI5/cli#701 Sibling of: SAP/ui5-server#643, UI5/cli#930
BREAKING CHANGE: Messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: #701 Sibling of: #930, SAP/ui5-cli#686
BREAKING CHANGE: System messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: #701 Sibling of: SAP/ui5-server#643, #930
…erver#643) BREAKING CHANGE: Messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: #701 Sibling of: #930, SAP/ui5-cli#686
) BREAKING CHANGE: System messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: #701 Sibling of: SAP/ui5-server#643, #930
) BREAKING CHANGE: System messages will now be written to stderr instead of stdout. JIRA: CPOUI5FOUNDATION-802 Related to: #701 Sibling of: SAP/ui5-server#643, #930
BREAKING CHANGE:
Error messages will now be written to stderr instead of stdout.
JIRA: CPOUI5FOUNDATION-802
Related to: #701
Sibling of: SAP/ui5-server#643, SAP/ui5-cli#686