Skip to content

Conversation

@johnhaley81
Copy link
Contributor

Fixes #3

@coveralls
Copy link

coveralls commented Jul 23, 2018

Pull Request Test Coverage Report for Build 12

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 11: 0.0%
Covered Lines: 30
Relevant Lines: 30

💛 - Coveralls

const relative = path.relative(process.cwd(), file);
const match = relative.match(/^((\.\.\/)*node_modules\/\S+?\/)/);
if (match) {
if (match && !match[1].endsWith('aws-sdk')) {
Copy link
Owner

Choose a reason for hiding this comment

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

I think this will still miss aws-sdk imports where the library is imported modularly eg: aws-sdk/clients/s3. Would it be possible for you to add a test to confirm that this works?
If you don't have time I am happy to merge this as is, as it does move us closer to resolving that issue.

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.

3 participants