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

Request: Monorepo support (with deep file structures and relative .lcov paths) #109

Open
npdev453 opened this issue Oct 8, 2023 · 1 comment

Comments

@npdev453
Copy link

npdev453 commented Oct 8, 2023

Example repo structure:

lib1/coverage/lcov.info
lib1/src/file.ts
lib2/coverage/lcov.info
lib2/src/file.ts

Search config

**/coverage/lcov.info

lcov.info

TN:
SF:src/file.ts
...

Produces:

[{
	"resource": "/test/repro/src/file.ts",
	"owner": "coverage",
	"severity": 2,
	"message": "[code-coverage] line not covered",
	"startLineNumber": 17,
	"startColumn": 1,
	"endLineNumber": 17,
	"endColumn": 1001
}]

// and The editor could not be opened because the file was not found.

Expects:

File should be trying to be located not from the opened workspace base path
but maybe from base path of regexp of config, or maybe special config (like deep-search: true that will add (group (**/)) to regexp and cut them next)

@mmospanenko
Copy link

yes, project root setting is necessary

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

No branches or pull requests

2 participants