{"action":"created","issue":{"url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/2","labels_url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/2/comments","events_url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/2/events","html_url":"https://github.com/dukex/ember-cli-sass/pull/2","id":95520778,"number":2,"title":"Solved cross platform issue.","user":{"login":"justin-lau","id":2094881,"avatar_url":"https://avatars.githubusercontent.com/u/2094881?v=3","gravatar_id":"","url":"https://api.github.com/users/justin-lau","html_url":"https://github.com/justin-lau","followers_url":"https://api.github.com/users/justin-lau/followers","following_url":"https://api.github.com/users/justin-lau/following{/other_user}","gists_url":"https://api.github.com/users/justin-lau/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-lau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-lau/subscriptions","organizations_url":"https://api.github.com/users/justin-lau/orgs","repos_url":"https://api.github.com/users/justin-lau/repos","events_url":"https://api.github.com/users/justin-lau/events{/privacy}","received_events_url":"https://api.github.com/users/justin-lau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T20:29:52Z","updated_at":"2015-07-21T15:28:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dukex/ember-cli-sass/pulls/2","html_url":"https://github.com/dukex/ember-cli-sass/pull/2","diff_url":"https://github.com/dukex/ember-cli-sass/pull/2.diff","patch_url":"https://github.com/dukex/ember-cli-sass/pull/2.patch"},"body":"The script wasn't able to extract relative file path on Windows. It is now fixed using Node's `path.relative()`."},"comment":{"url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/comments/123370391","html_url":"https://github.com/dukex/ember-cli-sass/pull/2#issuecomment-123370391","issue_url":"https://api.github.com/repos/dukex/ember-cli-sass/issues/2","id":123370391,"user":{"login":"justin-lau","id":2094881,"avatar_url":"https://avatars.githubusercontent.com/u/2094881?v=3","gravatar_id":"","url":"https://api.github.com/users/justin-lau","html_url":"https://github.com/justin-lau","followers_url":"https://api.github.com/users/justin-lau/followers","following_url":"https://api.github.com/users/justin-lau/following{/other_user}","gists_url":"https://api.github.com/users/justin-lau/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-lau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-lau/subscriptions","organizations_url":"https://api.github.com/users/justin-lau/orgs","repos_url":"https://api.github.com/users/justin-lau/repos","events_url":"https://api.github.com/users/justin-lau/events{/privacy}","received_events_url":"https://api.github.com/users/justin-lau/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T15:28:41Z","updated_at":"2015-07-21T15:28:41Z","body":"It was because the path delimiters being different on Windows. It uses backslashes '\\' instead of forward slashes '/' like in The Unix family. Therefore the `treeString + '/'` won't be found nor replaced in `filePath` on Windows.\r\n\r\nUsing node's native function to resolve relative paths guarantees the same result on every platforms node has support for."}}