{"action":"opened","issue":{"url":"https://api.github.com/repos/isaacs/node-glob/issues/195","labels_url":"https://api.github.com/repos/isaacs/node-glob/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/isaacs/node-glob/issues/195/comments","events_url":"https://api.github.com/repos/isaacs/node-glob/issues/195/events","html_url":"https://github.com/isaacs/node-glob/issues/195","id":73932942,"number":195,"title":"convertPathsToSystemSpecific","user":{"login":"maisk","id":5104288,"avatar_url":"https://avatars.githubusercontent.com/u/5104288?v=3","gravatar_id":"","url":"https://api.github.com/users/maisk","html_url":"https://github.com/maisk","followers_url":"https://api.github.com/users/maisk/followers","following_url":"https://api.github.com/users/maisk/following{/other_user}","gists_url":"https://api.github.com/users/maisk/gists{/gist_id}","starred_url":"https://api.github.com/users/maisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maisk/subscriptions","organizations_url":"https://api.github.com/users/maisk/orgs","repos_url":"https://api.github.com/users/maisk/repos","events_url":"https://api.github.com/users/maisk/events{/privacy}","received_events_url":"https://api.github.com/users/maisk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T10:26:33Z","updated_at":"2015-05-07T10:26:33Z","closed_at":null,"body":"```javascript\r\n var convertPathsToSystemSpecific = function(paths) {\r\n    return paths.map(function(filePath) {\r\n      return path.join.apply(path, filePath.split('/'));\r\n    });\r\n  };\r\n```\r\n\r\nconvertPathsToSystemSpecific('/tmp/test')\r\nreturns   tmp/test   \r\nno slash (/) at the start of the string\r\nis this correct?\r\n\r\nthanks\r\n\r\n\r\n\r\n\r\n\r\n"}}