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

Exit code issues #43

Merged
merged 10 commits into from
May 18, 2020
Merged

Exit code issues #43

merged 10 commits into from
May 18, 2020

Conversation

yuqu
Copy link
Contributor

@yuqu yuqu commented May 13, 2020

Apparently winston 3 has some problems on providing an API to exit gracefully on file loggers. I put an additional event emitter to redirect finish events on file transport destination.

Fixes: #42

@yuqu yuqu requested review from ergunsh, skarahoda and dorukgunes May 13, 2020 14:01
src/util/logger.ts Outdated Show resolved Hide resolved
src/util/command.ts Outdated Show resolved Hide resolved
@yuqu yuqu requested a review from skarahoda May 14, 2020 11:32
@yuqu yuqu merged commit 72d3417 into master May 18, 2020
@yuqu yuqu deleted the exit-code branch May 18, 2020 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to return exit code 1 on failure for CI integration
3 participants