Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

ref: use console.warn for alerts and store them in Set #455

Merged
merged 2 commits into from
May 9, 2018

Conversation

kamilogorek
Copy link
Contributor

Resolves #454

I totally agree that it should be piped to stderr, and not stdout, as those are always "something went wrong" alerts.

Also Set is supported since Node 4, which is our lowest supported version https://node.green/#ES2015-built-ins-Set.

@kamilogorek kamilogorek requested a review from a team May 8, 2018 10:26
Copy link
Contributor

@MaxBittker MaxBittker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me - but i noticed that no tests seem to exist for consoleAlertOnce. Maybe worth doing?

@kamilogorek kamilogorek merged commit 1e44061 into master May 9, 2018
@kamilogorek kamilogorek deleted the alert-stderr branch May 9, 2018 09:26
@kamilogorek
Copy link
Contributor Author

@MaxBittker accidentally squashed tests together, but you can still read them here 1e44061 :)
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants