{"action":"created","issue":{"url":"https://api.github.com/repos/davglass/license-checker/issues/76","repository_url":"https://api.github.com/repos/davglass/license-checker","labels_url":"https://api.github.com/repos/davglass/license-checker/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/davglass/license-checker/issues/76/comments","events_url":"https://api.github.com/repos/davglass/license-checker/issues/76/events","html_url":"https://github.com/davglass/license-checker/issues/76","id":174792566,"number":76,"title":"A lot of packages are marked as UNKNOWN but have a license in the readme","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-02T15:57:36Z","updated_at":"2016-09-06T14:54:04Z","closed_at":"2016-09-06T14:51:10Z","body":"It looks like a lot of UNKNOWNs have a MIT license in the readme.\r\n\r\nAt https://github.com/davglass/license-checker/blob/d7dc3c199636e986b3ba293a67a30bbdfc7bf2b7/lib/index.js#L116-L117 there's a `license(json.readme)` check.\r\n\r\n`json.readme` seems to come from `var read = require('read-installed');` which doesn't seem to be maintained/updated anymore (https://github.com/npm/read-package-tree is the new one).\r\n\r\nI think there's a bug which results in `ERROR: No README data found!` for the readme."},"comment":{"url":"https://api.github.com/repos/davglass/license-checker/issues/comments/244976523","html_url":"https://github.com/davglass/license-checker/issues/76#issuecomment-244976523","issue_url":"https://api.github.com/repos/davglass/license-checker/issues/76","id":244976523,"user":{"login":"davglass","id":32551,"avatar_url":"https://avatars.githubusercontent.com/u/32551?v=3","gravatar_id":"","url":"https://api.github.com/users/davglass","html_url":"https://github.com/davglass","followers_url":"https://api.github.com/users/davglass/followers","following_url":"https://api.github.com/users/davglass/following{/other_user}","gists_url":"https://api.github.com/users/davglass/gists{/gist_id}","starred_url":"https://api.github.com/users/davglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davglass/subscriptions","organizations_url":"https://api.github.com/users/davglass/orgs","repos_url":"https://api.github.com/users/davglass/repos","events_url":"https://api.github.com/users/davglass/events{/privacy}","received_events_url":"https://api.github.com/users/davglass/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:54:04Z","updated_at":"2016-09-06T14:54:04Z","body":"Published in `license-checker@7.0.0`"}}
{"actor":{"display_login":"davglass"}}