{"action":"created","comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments/28696905","id":28696905,"diff_hunk":"@@ -883,11 +892,7 @@ function clean() {\n       return asp(rimraf)(dir)\n       .then(function() {\n         // remove the main as well\n-        return asp(fs.unlink)(dir + '.js').catch(function(e) {\n-          if (e.code === 'ENOENT')\n-            return;\n-          throw e;\n-        });\n+        return safeUnlink(dir + '.js');","path":"lib/install.js","position":25,"original_position":25,"commit_id":"850dc3249eded1385528e77a3591482bf1c98b17","original_commit_id":"850dc3249eded1385528e77a3591482bf1c98b17","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"body":"Again not sure I'm a fan of a common function for a single use?","created_at":"2015-04-20T15:10:35Z","updated_at":"2015-04-20T15:10:35Z","html_url":"https://github.com/jspm/jspm-cli/pull/696#discussion_r28696905","pull_request_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/696","_links":{"self":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments/28696905"},"html":{"href":"https://github.com/jspm/jspm-cli/pull/696#discussion_r28696905"},"pull_request":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/696"}}},"pull_request":{"url":"https://api.github.com/repos/jspm/jspm-cli/pulls/696","id":33673920,"html_url":"https://github.com/jspm/jspm-cli/pull/696","diff_url":"https://github.com/jspm/jspm-cli/pull/696.diff","patch_url":"https://github.com/jspm/jspm-cli/pull/696.patch","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/696","number":696,"state":"open","locked":false,"title":"Enable deletion of entire symlink (but not contents)","user":{"login":"crisptrutski","id":881351,"avatar_url":"https://avatars.githubusercontent.com/u/881351?v=3","gravatar_id":"","url":"https://api.github.com/users/crisptrutski","html_url":"https://github.com/crisptrutski","followers_url":"https://api.github.com/users/crisptrutski/followers","following_url":"https://api.github.com/users/crisptrutski/following{/other_user}","gists_url":"https://api.github.com/users/crisptrutski/gists{/gist_id}","starred_url":"https://api.github.com/users/crisptrutski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisptrutski/subscriptions","organizations_url":"https://api.github.com/users/crisptrutski/orgs","repos_url":"https://api.github.com/users/crisptrutski/repos","events_url":"https://api.github.com/users/crisptrutski/events{/privacy}","received_events_url":"https://api.github.com/users/crisptrutski/received_events","type":"User","site_admin":false},"body":"Refs #557 \r\n\r\n@guybedford hopefully the scariness is contained. Would really like to test this before release (tested manually in dummy project at least).\r\n\r\nAlso, what are \"soft links\" like on windows? Can node tell them apart?","created_at":"2015-04-20T15:01:13Z","updated_at":"2015-04-20T15:10:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0252807ae67f2180408ac04ccf828b9e0106b464","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/696/commits","review_comments_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/696/comments","review_comment_url":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/696/comments","statuses_url":"https://api.github.com/repos/jspm/jspm-cli/statuses/850dc3249eded1385528e77a3591482bf1c98b17","head":{"label":"jspm:delete-symlinks","ref":"delete-symlinks","sha":"850dc3249eded1385528e77a3591482bf1c98b17","user":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"repo":{"id":8962829,"name":"jspm-cli","full_name":"jspm/jspm-cli","owner":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jspm/jspm-cli","description":"Package management CLI","fork":false,"url":"https://api.github.com/repos/jspm/jspm-cli","forks_url":"https://api.github.com/repos/jspm/jspm-cli/forks","keys_url":"https://api.github.com/repos/jspm/jspm-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jspm/jspm-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jspm/jspm-cli/teams","hooks_url":"https://api.github.com/repos/jspm/jspm-cli/hooks","issue_events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/events{/number}","events_url":"https://api.github.com/repos/jspm/jspm-cli/events","assignees_url":"https://api.github.com/repos/jspm/jspm-cli/assignees{/user}","branches_url":"https://api.github.com/repos/jspm/jspm-cli/branches{/branch}","tags_url":"https://api.github.com/repos/jspm/jspm-cli/tags","blobs_url":"https://api.github.com/repos/jspm/jspm-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jspm/jspm-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jspm/jspm-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/jspm/jspm-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jspm/jspm-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/jspm/jspm-cli/languages","stargazers_url":"https://api.github.com/repos/jspm/jspm-cli/stargazers","contributors_url":"https://api.github.com/repos/jspm/jspm-cli/contributors","subscribers_url":"https://api.github.com/repos/jspm/jspm-cli/subscribers","subscription_url":"https://api.github.com/repos/jspm/jspm-cli/subscription","commits_url":"https://api.github.com/repos/jspm/jspm-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/jspm/jspm-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/jspm/jspm-cli/contents/{+path}","compare_url":"https://api.github.com/repos/jspm/jspm-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jspm/jspm-cli/merges","archive_url":"https://api.github.com/repos/jspm/jspm-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jspm/jspm-cli/downloads","issues_url":"https://api.github.com/repos/jspm/jspm-cli/issues{/number}","pulls_url":"https://api.github.com/repos/jspm/jspm-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/jspm/jspm-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/jspm/jspm-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jspm/jspm-cli/labels{/name}","releases_url":"https://api.github.com/repos/jspm/jspm-cli/releases{/id}","created_at":"2013-03-22T23:20:12Z","updated_at":"2015-04-20T15:05:10Z","pushed_at":"2015-04-20T15:03:54Z","git_url":"git://github.com/jspm/jspm-cli.git","ssh_url":"git@github.com:jspm/jspm-cli.git","clone_url":"https://github.com/jspm/jspm-cli.git","svn_url":"https://github.com/jspm/jspm-cli","homepage":"https://jspm.io","size":5901,"stargazers_count":1229,"watchers_count":1229,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":46,"forks":65,"open_issues":46,"watchers":1229,"default_branch":"master"}},"base":{"label":"jspm:master","ref":"master","sha":"2edc091a74839f52ef60d910927b2a31de89f3cd","user":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"repo":{"id":8962829,"name":"jspm-cli","full_name":"jspm/jspm-cli","owner":{"login":"jspm","id":3802108,"avatar_url":"https://avatars.githubusercontent.com/u/3802108?v=3","gravatar_id":"","url":"https://api.github.com/users/jspm","html_url":"https://github.com/jspm","followers_url":"https://api.github.com/users/jspm/followers","following_url":"https://api.github.com/users/jspm/following{/other_user}","gists_url":"https://api.github.com/users/jspm/gists{/gist_id}","starred_url":"https://api.github.com/users/jspm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspm/subscriptions","organizations_url":"https://api.github.com/users/jspm/orgs","repos_url":"https://api.github.com/users/jspm/repos","events_url":"https://api.github.com/users/jspm/events{/privacy}","received_events_url":"https://api.github.com/users/jspm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jspm/jspm-cli","description":"Package management CLI","fork":false,"url":"https://api.github.com/repos/jspm/jspm-cli","forks_url":"https://api.github.com/repos/jspm/jspm-cli/forks","keys_url":"https://api.github.com/repos/jspm/jspm-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jspm/jspm-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jspm/jspm-cli/teams","hooks_url":"https://api.github.com/repos/jspm/jspm-cli/hooks","issue_events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/events{/number}","events_url":"https://api.github.com/repos/jspm/jspm-cli/events","assignees_url":"https://api.github.com/repos/jspm/jspm-cli/assignees{/user}","branches_url":"https://api.github.com/repos/jspm/jspm-cli/branches{/branch}","tags_url":"https://api.github.com/repos/jspm/jspm-cli/tags","blobs_url":"https://api.github.com/repos/jspm/jspm-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jspm/jspm-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jspm/jspm-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/jspm/jspm-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jspm/jspm-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/jspm/jspm-cli/languages","stargazers_url":"https://api.github.com/repos/jspm/jspm-cli/stargazers","contributors_url":"https://api.github.com/repos/jspm/jspm-cli/contributors","subscribers_url":"https://api.github.com/repos/jspm/jspm-cli/subscribers","subscription_url":"https://api.github.com/repos/jspm/jspm-cli/subscription","commits_url":"https://api.github.com/repos/jspm/jspm-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/jspm/jspm-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/jspm/jspm-cli/contents/{+path}","compare_url":"https://api.github.com/repos/jspm/jspm-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jspm/jspm-cli/merges","archive_url":"https://api.github.com/repos/jspm/jspm-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jspm/jspm-cli/downloads","issues_url":"https://api.github.com/repos/jspm/jspm-cli/issues{/number}","pulls_url":"https://api.github.com/repos/jspm/jspm-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/jspm/jspm-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/jspm/jspm-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jspm/jspm-cli/labels{/name}","releases_url":"https://api.github.com/repos/jspm/jspm-cli/releases{/id}","created_at":"2013-03-22T23:20:12Z","updated_at":"2015-04-20T15:05:10Z","pushed_at":"2015-04-20T15:03:54Z","git_url":"git://github.com/jspm/jspm-cli.git","ssh_url":"git@github.com:jspm/jspm-cli.git","clone_url":"https://github.com/jspm/jspm-cli.git","svn_url":"https://github.com/jspm/jspm-cli","homepage":"https://jspm.io","size":5901,"stargazers_count":1229,"watchers_count":1229,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":46,"forks":65,"open_issues":46,"watchers":1229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/696"},"html":{"href":"https://github.com/jspm/jspm-cli/pull/696"},"issue":{"href":"https://api.github.com/repos/jspm/jspm-cli/issues/696"},"comments":{"href":"https://api.github.com/repos/jspm/jspm-cli/issues/696/comments"},"review_comments":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/696/comments"},"review_comment":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jspm/jspm-cli/pulls/696/commits"},"statuses":{"href":"https://api.github.com/repos/jspm/jspm-cli/statuses/850dc3249eded1385528e77a3591482bf1c98b17"}}}}