{"action":"created","issue":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/165","labels_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/165/comments","events_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/165/events","html_url":"https://github.com/jprichardson/node-fs-extra/pull/165","id":99467798,"number":165,"title":"ensure for link & symlink","user":{"login":"reggi","id":296798,"avatar_url":"https://avatars.githubusercontent.com/u/296798?v=3","gravatar_id":"","url":"https://api.github.com/users/reggi","html_url":"https://github.com/reggi","followers_url":"https://api.github.com/users/reggi/followers","following_url":"https://api.github.com/users/reggi/following{/other_user}","gists_url":"https://api.github.com/users/reggi/gists{/gist_id}","starred_url":"https://api.github.com/users/reggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reggi/subscriptions","organizations_url":"https://api.github.com/users/reggi/orgs","repos_url":"https://api.github.com/users/reggi/repos","events_url":"https://api.github.com/users/reggi/events{/privacy}","received_events_url":"https://api.github.com/users/reggi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-06T15:56:07Z","updated_at":"2015-08-06T22:18:24Z","closed_at":"2015-08-06T20:54:44Z","pull_request":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/pulls/165","html_url":"https://github.com/jprichardson/node-fs-extra/pull/165","diff_url":"https://github.com/jprichardson/node-fs-extra/pull/165.diff","patch_url":"https://github.com/jprichardson/node-fs-extra/pull/165.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/comments/128524869","html_url":"https://github.com/jprichardson/node-fs-extra/pull/165#issuecomment-128524869","issue_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/165","id":128524869,"user":{"login":"reggi","id":296798,"avatar_url":"https://avatars.githubusercontent.com/u/296798?v=3","gravatar_id":"","url":"https://api.github.com/users/reggi","html_url":"https://github.com/reggi","followers_url":"https://api.github.com/users/reggi/followers","following_url":"https://api.github.com/users/reggi/following{/other_user}","gists_url":"https://api.github.com/users/reggi/gists{/gist_id}","starred_url":"https://api.github.com/users/reggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reggi/subscriptions","organizations_url":"https://api.github.com/users/reggi/orgs","repos_url":"https://api.github.com/users/reggi/repos","events_url":"https://api.github.com/users/reggi/events{/privacy}","received_events_url":"https://api.github.com/users/reggi/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T22:18:24Z","updated_at":"2015-08-06T22:18:24Z","body":"As expressed [here](https://github.com/jprichardson/node-fs-extra/issues/164#issuecomment-128069620) I feel weird throwing the err away. My current usage for this function is as follows, please forgive the promises.\r\n\r\n```\r\nfse.ensureLinkAsync(pkg.main, paths.mainDst)\r\n.then(debugThen('linking main %s -> %s', pkg.main, paths.mainDst)).catch(debugCatch),\r\n```\r\n\r\nSo for control-flow it's useful to know if something has been created or not. \r\n\r\nThats why [I expressed the need for `ensureWarn` functions](https://github.com/jprichardson/node-fs-extra/issues/164#issuecomment-128083607). \r\n\r\nI agree though with this:\r\n\r\n> the intent of the caller of these methods is to just make sure that they exist regardless\r\n\r\nCrafting PR(s) now."}}