{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-linter/issues/969","repository_url":"https://api.github.com/repos/mozilla/addons-linter","labels_url":"https://api.github.com/repos/mozilla/addons-linter/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-linter/issues/969/comments","events_url":"https://api.github.com/repos/mozilla/addons-linter/issues/969/events","html_url":"https://github.com/mozilla/addons-linter/issues/969","id":180402559,"number":969,"title":"web-ext lint error: Too many non-option arguments: got 1, maximum of 0","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"assignees":[{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-30T21:07:26Z","updated_at":"2016-09-30T22:23:01Z","closed_at":null,"body":"### Describe the problem and steps to reproduce it:\r\n\r\nTo reproduce:\r\n* upgrade the `addons-linter` dependency of `web-ext` to `0.15.4`\r\n* run `npm install` and `npm run build` to get a new `web-ext`\r\n* cd into any add-on\r\n* type `web-ext lint`\r\n\r\n### What happened?\r\n\r\nIt shows a usage message with this error:\r\n```\r\nToo many non-option arguments: got 1, maximum of 0\r\n````\r\n\r\n### What did you expect to happen?\r\n\r\nThe command should show a lint report\r\n\r\n### Anything else we should know?\r\n\r\n`web-ext` simulates passing a directory of source as the first command line argument to `addons-linter` [like this](https://github.com/mozilla/web-ext/blob/master/src/cmd/lint.js#L75). Maybe something changed? I don't see anything obvious at a glance."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-linter/issues/comments/250866149","html_url":"https://github.com/mozilla/addons-linter/issues/969#issuecomment-250866149","issue_url":"https://api.github.com/repos/mozilla/addons-linter/issues/969","id":250866149,"user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T22:23:01Z","updated_at":"2016-09-30T22:23:01Z","body":"Not sure the cause yet, but just tested on every release after `0.15.1` and this always happens in `web-ext` (`0.15.1` works for me locally though).\r\n\r\nSo this is a regression, introduced in `0.15.2`."}}
{"actor":{"display_login":"tofumatt"}}