{"action":"created","issue":{"url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/13","repository_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier","labels_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/13/comments","events_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/13/events","html_url":"https://github.com/edm00se/emoji-transmogrifier/issues/13","id":141072319,"number":13,"title":"Add Globbing vs Params for Directory and File Extension","user":{"login":"edm00se","id":622118,"avatar_url":"https://avatars.githubusercontent.com/u/622118?v=3","gravatar_id":"","url":"https://api.github.com/users/edm00se","html_url":"https://github.com/edm00se","followers_url":"https://api.github.com/users/edm00se/followers","following_url":"https://api.github.com/users/edm00se/following{/other_user}","gists_url":"https://api.github.com/users/edm00se/gists{/gist_id}","starred_url":"https://api.github.com/users/edm00se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edm00se/subscriptions","organizations_url":"https://api.github.com/users/edm00se/orgs","repos_url":"https://api.github.com/users/edm00se/repos","events_url":"https://api.github.com/users/edm00se/events{/privacy}","received_events_url":"https://api.github.com/users/edm00se/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"edm00se","id":622118,"avatar_url":"https://avatars.githubusercontent.com/u/622118?v=3","gravatar_id":"","url":"https://api.github.com/users/edm00se","html_url":"https://github.com/edm00se","followers_url":"https://api.github.com/users/edm00se/followers","following_url":"https://api.github.com/users/edm00se/following{/other_user}","gists_url":"https://api.github.com/users/edm00se/gists{/gist_id}","starred_url":"https://api.github.com/users/edm00se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edm00se/subscriptions","organizations_url":"https://api.github.com/users/edm00se/orgs","repos_url":"https://api.github.com/users/edm00se/repos","events_url":"https://api.github.com/users/edm00se/events{/privacy}","received_events_url":"https://api.github.com/users/edm00se/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/milestones/1","html_url":"https://github.com/edm00se/emoji-transmogrifier/milestones/2.1.0","labels_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/milestones/1/labels","id":1646429,"number":1,"title":"2.1.0","description":null,"creator":{"login":"edm00se","id":622118,"avatar_url":"https://avatars.githubusercontent.com/u/622118?v=3","gravatar_id":"","url":"https://api.github.com/users/edm00se","html_url":"https://github.com/edm00se","followers_url":"https://api.github.com/users/edm00se/followers","following_url":"https://api.github.com/users/edm00se/following{/other_user}","gists_url":"https://api.github.com/users/edm00se/gists{/gist_id}","starred_url":"https://api.github.com/users/edm00se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edm00se/subscriptions","organizations_url":"https://api.github.com/users/edm00se/orgs","repos_url":"https://api.github.com/users/edm00se/repos","events_url":"https://api.github.com/users/edm00se/events{/privacy}","received_events_url":"https://api.github.com/users/edm00se/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-03-15T19:06:44Z","updated_at":"2016-03-15T19:15:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-15T19:15:10Z","updated_at":"2016-03-16T02:33:21Z","closed_at":null,"body":"Currently, the cli `zap` action requires params of `-d/--directory` and `-t/--type` (defaults to `./` and `md`). It would be preferable to switch to an easier to use file globbing pattern, a la [node-glob](https://www.npmjs.com/package/glob); this is the mechanic used by [grunt](http://gruntjs.com/) or [gulp](http://gulpjs.com/) and should be familiar to anyone accustomed to node dev (and node tools)."},"comment":{"url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/comments/197118386","html_url":"https://github.com/edm00se/emoji-transmogrifier/issues/13#issuecomment-197118386","issue_url":"https://api.github.com/repos/edm00se/emoji-transmogrifier/issues/13","id":197118386,"user":{"login":"edm00se","id":622118,"avatar_url":"https://avatars.githubusercontent.com/u/622118?v=3","gravatar_id":"","url":"https://api.github.com/users/edm00se","html_url":"https://github.com/edm00se","followers_url":"https://api.github.com/users/edm00se/followers","following_url":"https://api.github.com/users/edm00se/following{/other_user}","gists_url":"https://api.github.com/users/edm00se/gists{/gist_id}","starred_url":"https://api.github.com/users/edm00se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edm00se/subscriptions","organizations_url":"https://api.github.com/users/edm00se/orgs","repos_url":"https://api.github.com/users/edm00se/repos","events_url":"https://api.github.com/users/edm00se/events{/privacy}","received_events_url":"https://api.github.com/users/edm00se/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T02:33:21Z","updated_at":"2016-03-16T02:33:21Z","body":"It turns out, my code was good, except I didn't realize that [repeated calls to RegExp in JavaScript](http://stackoverflow.com/questions/1520800/why-regexp-with-global-flag-in-javascript-give-wrong-results/1520853#1520853) wouldn't clear lastIndex, causing an inevitable issue (and why my tests of a series of files, containing the same contents, would fail)."}}