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

Add options for env, startedBy and region and add a trap for SIGINT #1

Merged
merged 14 commits into from
Jun 8, 2018

Conversation

johvet
Copy link
Contributor

@johvet johvet commented Jan 3, 2018

No description provided.

@coen-hyde
Copy link
Contributor

Hi Johannes,

Thank you for your contributions! Sorry I didn't see this PR earlier. At a quick glance there's only one non style related change i'd like to see, and i'll comment on the specify line re that change. Style wise I'm not a fan of multi line variable declarations with a single var or const. Can we update the ESLint rules to enforce const variable=value; style?

Thanks,
Coen

index.js Outdated
var stream = combiner(logs, formatter);
stream.logStream = logs;

process.on('SIGINT', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Listening for the interrupt signal should probably happen in the ./bin/ecs-task-runner script. Since this index.js is intended to be used for module use.

@johvet
Copy link
Contributor Author

johvet commented Jan 14, 2018 via email

@coen-hyde
Copy link
Contributor

Hey @johvet, sorry I missed this. These are some good changes. Merging and releasing a new version

@coen-hyde coen-hyde merged commit fbe48ac into bugcrowd:master Jun 8, 2018
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.

None yet

2 participants