{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/19","labels_url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/19/comments","events_url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/19/events","html_url":"https://github.com/sindresorhus/generator-nm/pull/19","id":94394732,"number":19,"title":"force removal of `cli.js` if the user answered `No` to CLI question.","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-10T21:12:45Z","updated_at":"2015-07-25T20:00:40Z","closed_at":"2015-07-25T20:00:40Z","pull_request":{"url":"https://api.github.com/repos/sindresorhus/generator-nm/pulls/19","html_url":"https://github.com/sindresorhus/generator-nm/pull/19","diff_url":"https://github.com/sindresorhus/generator-nm/pull/19.diff","patch_url":"https://github.com/sindresorhus/generator-nm/pull/19.patch"},"body":"Technically this should be handled by the ignore pattern `!**/cli.js`, but that fails to work on multiple machines.\r\n\r\nThis PR comes without tests, but a test for this was already added in @cdd4a7f, and it passes (even though I have demonstrated `cli.js` gets copied regardless of the users answer on multiple platforms).\r\n\r\nSee #17.\r\n(cherry picked from commit 4fbc76b)"},"comment":{"url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/comments/124881758","html_url":"https://github.com/sindresorhus/generator-nm/pull/19#issuecomment-124881758","issue_url":"https://api.github.com/repos/sindresorhus/generator-nm/issues/19","id":124881758,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T20:00:40Z","updated_at":"2015-07-25T20:00:40Z","body":"Per https://github.com/yeoman/generator/issues/834. Looks like a bug in `yeoman-generator`."}}