{"action":"created","issue":{"url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/81","labels_url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/81/comments","events_url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/81/events","html_url":"https://github.com/SassDoc/sassdoc.github.io/issues/81","id":53850246,"number":81,"title":"Add a warning about --dest ./","user":{"login":"HugoGiraudel","id":1889710,"avatar_url":"https://avatars.githubusercontent.com/u/1889710?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoGiraudel","html_url":"https://github.com/HugoGiraudel","followers_url":"https://api.github.com/users/HugoGiraudel/followers","following_url":"https://api.github.com/users/HugoGiraudel/following{/other_user}","gists_url":"https://api.github.com/users/HugoGiraudel/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoGiraudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoGiraudel/subscriptions","organizations_url":"https://api.github.com/users/HugoGiraudel/orgs","repos_url":"https://api.github.com/users/HugoGiraudel/repos","events_url":"https://api.github.com/users/HugoGiraudel/events{/privacy}","received_events_url":"https://api.github.com/users/HugoGiraudel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/labels/Communication","name":"Communication","color":"FEF4C9"}],"state":"open","locked":false,"assignee":{"login":"HugoGiraudel","id":1889710,"avatar_url":"https://avatars.githubusercontent.com/u/1889710?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoGiraudel","html_url":"https://github.com/HugoGiraudel","followers_url":"https://api.github.com/users/HugoGiraudel/followers","following_url":"https://api.github.com/users/HugoGiraudel/following{/other_user}","gists_url":"https://api.github.com/users/HugoGiraudel/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoGiraudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoGiraudel/subscriptions","organizations_url":"https://api.github.com/users/HugoGiraudel/orgs","repos_url":"https://api.github.com/users/HugoGiraudel/repos","events_url":"https://api.github.com/users/HugoGiraudel/events{/privacy}","received_events_url":"https://api.github.com/users/HugoGiraudel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/milestones/1","labels_url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/milestones/1/labels","id":824273,"number":1,"title":"SassDoc 2.0","description":"","creator":{"login":"HugoGiraudel","id":1889710,"avatar_url":"https://avatars.githubusercontent.com/u/1889710?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoGiraudel","html_url":"https://github.com/HugoGiraudel","followers_url":"https://api.github.com/users/HugoGiraudel/followers","following_url":"https://api.github.com/users/HugoGiraudel/following{/other_user}","gists_url":"https://api.github.com/users/HugoGiraudel/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoGiraudel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoGiraudel/subscriptions","organizations_url":"https://api.github.com/users/HugoGiraudel/orgs","repos_url":"https://api.github.com/users/HugoGiraudel/repos","events_url":"https://api.github.com/users/HugoGiraudel/events{/privacy}","received_events_url":"https://api.github.com/users/HugoGiraudel/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":8,"state":"open","created_at":"2014-10-13T17:14:39Z","updated_at":"2015-01-15T11:08:02Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-01-09T09:47:35Z","updated_at":"2015-01-15T11:23:54Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/comments/70072396","html_url":"https://github.com/SassDoc/sassdoc.github.io/issues/81#issuecomment-70072396","issue_url":"https://api.github.com/repos/SassDoc/sassdoc.github.io/issues/81","id":70072396,"user":{"login":"valeriangalliat","id":3929133,"avatar_url":"https://avatars.githubusercontent.com/u/3929133?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriangalliat","html_url":"https://github.com/valeriangalliat","followers_url":"https://api.github.com/users/valeriangalliat/followers","following_url":"https://api.github.com/users/valeriangalliat/following{/other_user}","gists_url":"https://api.github.com/users/valeriangalliat/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriangalliat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriangalliat/subscriptions","organizations_url":"https://api.github.com/users/valeriangalliat/orgs","repos_url":"https://api.github.com/users/valeriangalliat/repos","events_url":"https://api.github.com/users/valeriangalliat/events{/privacy}","received_events_url":"https://api.github.com/users/valeriangalliat/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T11:23:54Z","updated_at":"2015-01-15T11:23:54Z","body":"So basically:\r\n\r\n* `sassdoc scss --dest ./` will fail, thanks to safe-wipe.\r\n* `sassdoc 'scss/**/*.scss' '!scss/foo/bar.scss' --dest ./ will fail too (glob2base can handle an array of patterns).\r\n* `sassdoc --dest ./ < foo.scss` will fail thanks to `fs.rmdir` which won't allow to remove `./` throwing an `EINVAL` error.\r\n\r\nSo I think there's no need for a warning."}}