Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

Fixing scenario with multiple "!"s in the LCOV path. #100

Merged
merged 1 commit into from Feb 4, 2017

Conversation

TonD83
Copy link
Contributor

@TonD83 TonD83 commented Feb 2, 2017

We have SF lines in the LCOV files generated by angular cli looking like:

SF:/Users/xxx/xxx/xxxxx/yyyy/app/node_modules/angular2-template-loader/index.js!/Users/xxx/xxx/xxxxx/yyyy/app/node_modules/tslint-loader/index.js!/Users/xxx/xxx/xxxxx/yyyy/app/src/app/questions/loader.ts

So looking at the part of the path after the first ! won't solve our problem, however looking at part of the path after the final ! would.

So trying to open the part after the last "!" should fix it.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.742% when pulling 9e6ce71 on TonD83:fix-lcov-path into a2b382d on Pablissimo:master.

@Pablissimo
Copy link
Owner

I knew when I put that in it'd come back to bite me! Will merge at the weekend, thanks for the PR!

@Pablissimo Pablissimo merged commit 9e6ce71 into Pablissimo:master Feb 4, 2017
@TonD83 TonD83 deleted the fix-lcov-path branch February 6, 2017 08:45
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

3 participants