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

Modernize lib/instrumenters. #985

Merged

Conversation

coreyfarrell
Copy link
Member

Take advantage of features available in node.js 6 and above

  • Remove unreachable code for importing legacy istanbul module.
  • Use const where possible
  • Use object destructuring where appropriate.
  • Use short-hand function declarations

Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

this seems like a nice little cleanup to me 👍

@coreyfarrell coreyfarrell merged commit 8a5e222 into istanbuljs:master Feb 5, 2019
@coreyfarrell coreyfarrell deleted the modernize-instrumenters branch February 5, 2019 01:38
@coreyfarrell coreyfarrell restored the modernize-instrumenters branch February 5, 2019 01:39
@coreyfarrell coreyfarrell deleted the modernize-instrumenters branch February 5, 2019 01:56
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.

2 participants