{"action":"created","issue":{"url":"https://api.github.com/repos/flowtype/vim-flow/issues/37","repository_url":"https://api.github.com/repos/flowtype/vim-flow","labels_url":"https://api.github.com/repos/flowtype/vim-flow/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/flowtype/vim-flow/issues/37/comments","events_url":"https://api.github.com/repos/flowtype/vim-flow/issues/37/events","html_url":"https://github.com/flowtype/vim-flow/pull/37","id":177514744,"number":37,"title":"Implement loading of local flow-bin","user":{"login":"Kriegslustig","id":7280956,"avatar_url":"https://avatars.githubusercontent.com/u/7280956?v=3","gravatar_id":"","url":"https://api.github.com/users/Kriegslustig","html_url":"https://github.com/Kriegslustig","followers_url":"https://api.github.com/users/Kriegslustig/followers","following_url":"https://api.github.com/users/Kriegslustig/following{/other_user}","gists_url":"https://api.github.com/users/Kriegslustig/gists{/gist_id}","starred_url":"https://api.github.com/users/Kriegslustig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kriegslustig/subscriptions","organizations_url":"https://api.github.com/users/Kriegslustig/orgs","repos_url":"https://api.github.com/users/Kriegslustig/repos","events_url":"https://api.github.com/users/Kriegslustig/events{/privacy}","received_events_url":"https://api.github.com/users/Kriegslustig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flowtype/vim-flow/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T20:34:47Z","updated_at":"2016-10-11T23:48:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/flowtype/vim-flow/pulls/37","html_url":"https://github.com/flowtype/vim-flow/pull/37","diff_url":"https://github.com/flowtype/vim-flow/pull/37.diff","patch_url":"https://github.com/flowtype/vim-flow/pull/37.patch"},"body":"Fixes #24. This PR implements a check for a local version of `flow-bin` and uses that instead of the global one when found.\r\n\r\nMore specifically, it plimbs up the directory tree from the current working directory, checking there's a `node_modules` directory. If one is found it checks if `[...]/node_modules/.bin/flow` is a readable file. If that's the case, it sets `g:flow#flowpath` to that path. Otherwise it will still be set to `flow`."},"comment":{"url":"https://api.github.com/repos/flowtype/vim-flow/issues/comments/253079923","html_url":"https://github.com/flowtype/vim-flow/pull/37#issuecomment-253079923","issue_url":"https://api.github.com/repos/flowtype/vim-flow/issues/37","id":253079923,"user":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T23:48:05Z","updated_at":"2016-10-11T23:48:05Z","body":"This is useful, could this be merged?"}}
{"actor":{"display_login":"andreypopp"}}