{"action":"opened","issue":{"url":"https://api.github.com/repos/crbelaus/vscode-elixir/issues/2","repository_url":"https://api.github.com/repos/crbelaus/vscode-elixir","labels_url":"https://api.github.com/repos/crbelaus/vscode-elixir/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/crbelaus/vscode-elixir/issues/2/comments","events_url":"https://api.github.com/repos/crbelaus/vscode-elixir/issues/2/events","html_url":"https://github.com/crbelaus/vscode-elixir/issues/2","id":394772890,"node_id":"MDU6SXNzdWUzOTQ3NzI4OTA=","number":2,"title":"Can not navigate to definition","user":{"login":"crbelaus","id":2965623,"node_id":"MDQ6VXNlcjI5NjU2MjM=","avatar_url":"https://avatars3.githubusercontent.com/u/2965623?v=4","gravatar_id":"","url":"https://api.github.com/users/crbelaus","html_url":"https://github.com/crbelaus","followers_url":"https://api.github.com/users/crbelaus/followers","following_url":"https://api.github.com/users/crbelaus/following{/other_user}","gists_url":"https://api.github.com/users/crbelaus/gists{/gist_id}","starred_url":"https://api.github.com/users/crbelaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crbelaus/subscriptions","organizations_url":"https://api.github.com/users/crbelaus/orgs","repos_url":"https://api.github.com/users/crbelaus/repos","events_url":"https://api.github.com/users/crbelaus/events{/privacy}","received_events_url":"https://api.github.com/users/crbelaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-29T08:09:40Z","updated_at":"2018-12-29T08:09:40Z","closed_at":null,"author_association":"OWNER","body":"The definition provider is failing when trying to navigate to a module or function definition.\r\n\r\nThe following error appears in the debug console:\r\n\r\n```\r\nrejecting TypeError: result.lastIndexOf is not a function\r\nelixirSenseDefinitionProvider.ts:57\r\n    at __dirname.provideDefinition.resultPromise.then.then.then.result (/Users/crbelaus/Projects/vscode-elixir/src/elixirSenseDefinitionProvider.ts:46:55)\r\n    at <anonymous>\r\nrejecting TypeError: result.lastIndexOf is not a function\r\nelixirSenseDefinitionProvider.ts:57\r\n    at __dirname.provideDefinition.resultPromise.then.then.then.result (/Users/crbelaus/Projects/vscode-elixir/src/elixirSenseDefinitionProvider.ts:46:55)\r\n    at <anonymous>\r\n```"}}
{"actor":{"display_login":"crbelaus"}}