{"action":"created","issue":{"url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/2","labels_url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/2/comments","events_url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/2/events","html_url":"https://github.com/jamestalmage/istanbul-combine/issues/2","id":96473402,"number":2,"title":"Deprecate in favor of istanbul report","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-22T04:36:59Z","updated_at":"2015-08-06T01:50:23Z","closed_at":null,"body":"It looks like this is probably an unnecessary module, and that `istanbul report json` will do the same thing:\r\n\r\n```\r\nUsage: istanbul report <options> [ <format> ... ]\r\n\r\nOptions are:\r\n\r\n      --config <path-to-config>\r\n              the configuration file to use, defaults to .istanbul.yml\r\n\r\n      --root <input-directory>\r\n              The input root directory for finding coverage files\r\n\r\n      --dir <report-directory>\r\n              The output directory where files will be written. This defaults\r\n              to ./coverage/\r\n\r\n      --include <glob>\r\n              The fileset pattern to select one or more coverage files,\r\n              defaults to **/coverage*.json\r\n\r\n      --verbose, -v\r\n              verbose mode\r\n\r\n\r\n<format> is one of \r\n      clover  XML coverage report that can be consumed by the clover tool\r\n      cobertura\r\n              XML coverage report that can be consumed by the cobertura tool\r\n      html    Navigable HTML coverage report for every file and directory\r\n      json    prints the coverage object as JSON to a file\r\n      json-summary\r\n              prints a summary coverage object as JSON to a file\r\n      lcov    combined lcovonly and html report that generates an lcov.info\r\n              file as well as HTML\r\n      lcovonly\r\n              lcov coverage report that can be consumed by the lcov tool\r\n      none    Does nothing. Useful to override default behavior and suppress\r\n              reporting entirely\r\n      teamcity\r\n              report with system messages that can be interpreted with TeamCity\r\n      text    text report that prints a coverage line for every file, typically\r\n              to console\r\n      text-lcov\r\n              lcov coverage report that can be consumed by the lcov tool\r\n      text-summary\r\n              text report that prints a coverage summary across all files,\r\n              typically to console\r\n``` "},"comment":{"url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/comments/128207870","html_url":"https://github.com/jamestalmage/istanbul-combine/issues/2#issuecomment-128207870","issue_url":"https://api.github.com/repos/jamestalmage/istanbul-combine/issues/2","id":128207870,"user":{"login":"erindru","id":1001316,"avatar_url":"https://avatars.githubusercontent.com/u/1001316?v=3","gravatar_id":"","url":"https://api.github.com/users/erindru","html_url":"https://github.com/erindru","followers_url":"https://api.github.com/users/erindru/followers","following_url":"https://api.github.com/users/erindru/following{/other_user}","gists_url":"https://api.github.com/users/erindru/gists{/gist_id}","starred_url":"https://api.github.com/users/erindru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erindru/subscriptions","organizations_url":"https://api.github.com/users/erindru/orgs","repos_url":"https://api.github.com/users/erindru/repos","events_url":"https://api.github.com/users/erindru/events{/privacy}","received_events_url":"https://api.github.com/users/erindru/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T01:50:23Z","updated_at":"2015-08-06T01:50:23Z","body":"That defines the path to the *coverage* files, not a basePath to prepend to all the files *within* the coverage files. With karma-coverage, you can specify a basePath to your source, but when it outputs the reports, they dont include this basePath.\r\n\r\nTherefore, when `instanbul report` reads the coverage files and tries to resolve the paths to the source files, it fails.\r\n\r\n`instanbul-combine` fixes this issue by allowing a `base` option to be defined"}}