{"action":"created","issue":{"url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/10","labels_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/10/comments","events_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/10/events","html_url":"https://github.com/SitePen/remap-istanbul/pull/10","id":111148029,"number":10,"title":"Fix path construction","user":{"login":"kinday","id":1751980,"avatar_url":"https://avatars.githubusercontent.com/u/1751980?v=3","gravatar_id":"","url":"https://api.github.com/users/kinday","html_url":"https://github.com/kinday","followers_url":"https://api.github.com/users/kinday/followers","following_url":"https://api.github.com/users/kinday/following{/other_user}","gists_url":"https://api.github.com/users/kinday/gists{/gist_id}","starred_url":"https://api.github.com/users/kinday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinday/subscriptions","organizations_url":"https://api.github.com/users/kinday/orgs","repos_url":"https://api.github.com/users/kinday/repos","events_url":"https://api.github.com/users/kinday/events{/privacy}","received_events_url":"https://api.github.com/users/kinday/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SitePen/remap-istanbul/labels/cla-checked","name":"cla-checked","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T10:05:14Z","updated_at":"2015-10-13T10:19:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SitePen/remap-istanbul/pulls/10","html_url":"https://github.com/SitePen/remap-istanbul/pull/10","diff_url":"https://github.com/SitePen/remap-istanbul/pull/10.diff","patch_url":"https://github.com/SitePen/remap-istanbul/pull/10.patch"},"body":"**Problem:** I’m using OS X and has paths like this: `/Volumes/Sevilla/Users/kinday/Work/oboe-promise/Volumes/Sevilla/Users/kinday/Work/oboe-promise/index.js`. Notice the repeated part.\r\n\r\n**Solution:** Using #resolve instead of #join prevents errors when source map has full path to file. It returns absolute path so we pass it to #relative.\r\n"},"comment":{"url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/comments/147673435","html_url":"https://github.com/SitePen/remap-istanbul/pull/10#issuecomment-147673435","issue_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/10","id":147673435,"user":{"login":"kitsonk","id":1282577,"avatar_url":"https://avatars.githubusercontent.com/u/1282577?v=3","gravatar_id":"","url":"https://api.github.com/users/kitsonk","html_url":"https://github.com/kitsonk","followers_url":"https://api.github.com/users/kitsonk/followers","following_url":"https://api.github.com/users/kitsonk/following{/other_user}","gists_url":"https://api.github.com/users/kitsonk/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsonk/subscriptions","organizations_url":"https://api.github.com/users/kitsonk/orgs","repos_url":"https://api.github.com/users/kitsonk/repos","events_url":"https://api.github.com/users/kitsonk/events{/privacy}","received_events_url":"https://api.github.com/users/kitsonk/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T10:19:17Z","updated_at":"2015-10-13T10:19:17Z","body":"Leonard Kinday (kinday) submitted a CLA on 2015-10-13 09:47:17."}}