Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit e0c8cd0

Browse files
machadoitmrfyda
authored andcommitted
Update README (#30)
Add troubleshoot for absolute paths
1 parent d372dfd commit e0c8cd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,12 @@ Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomj
8282
### [gulp](http://gulpjs.com/)
8383
- Install & Configure [gulp-codacy](https://www.npmjs.com/package/gulp-codacy)
8484

85+
### Troubleshooting
86+
87+
The paths in your coverage file should be relative, if you are having problems with absolute paths, you can run our plugin with `-p .` to strip the current path from the paths in your coverage file:
88+
```
89+
cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
90+
```
91+
8592
## License
8693
[MIT](LICENSE)

0 commit comments

Comments
 (0)