{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/117","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/117/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/117/events","html_url":"https://github.com/gruntjs/grunt-contrib-concat/pull/117","id":57885675,"number":117,"title":"Fix path issues with source maps","user":{"login":"RiaanN","id":3389739,"avatar_url":"https://avatars.githubusercontent.com/u/3389739?v=3","gravatar_id":"","url":"https://api.github.com/users/RiaanN","html_url":"https://github.com/RiaanN","followers_url":"https://api.github.com/users/RiaanN/followers","following_url":"https://api.github.com/users/RiaanN/following{/other_user}","gists_url":"https://api.github.com/users/RiaanN/gists{/gist_id}","starred_url":"https://api.github.com/users/RiaanN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiaanN/subscriptions","organizations_url":"https://api.github.com/users/RiaanN/orgs","repos_url":"https://api.github.com/users/RiaanN/repos","events_url":"https://api.github.com/users/RiaanN/events{/privacy}","received_events_url":"https://api.github.com/users/RiaanN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-17T05:40:21Z","updated_at":"2015-02-19T07:57:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/pulls/117","html_url":"https://github.com/gruntjs/grunt-contrib-concat/pull/117","diff_url":"https://github.com/gruntjs/grunt-contrib-concat/pull/117.diff","patch_url":"https://github.com/gruntjs/grunt-contrib-concat/pull/117.patch"},"body":"On Windows, node's path api returns backslashes for path separators.\r\n\r\nBecause the source-map library expects forward slashes in all cases, their relative path logic (specifically their \"normalize\" function) gives incorrect results when passing in backslash.  The mozilla/source-map library won't change this, because they are actually expecting URLs as input - see https://github.com/mozilla/source-map/issues/91#issuecomment-34845169.\r\n\r\nThis fix is similar to the one made for grunt-contrib-uglify: https://github.com/gruntjs/grunt-contrib-uglify/pull/175.\r\n\r\nFixes #95.\r\n"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/comments/75011349","html_url":"https://github.com/gruntjs/grunt-contrib-concat/pull/117#issuecomment-75011349","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-concat/issues/117","id":75011349,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T07:57:08Z","updated_at":"2015-02-19T07:57:08Z","body":"Yes, @RiaanN is right."}}