{"action":"opened","issue":{"url":"https://api.github.com/repos/preaction/Statocles/issues/295","labels_url":"https://api.github.com/repos/preaction/Statocles/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/preaction/Statocles/issues/295/comments","events_url":"https://api.github.com/repos/preaction/Statocles/issues/295/events","html_url":"https://github.com/preaction/Statocles/issues/295","id":69332821,"number":295,"title":"[blog] \"new-post\" directory gets left behind","user":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/preaction/Statocles/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-18T18:03:30Z","updated_at":"2015-04-18T18:03:30Z","closed_at":null,"body":"When running `statocles blog post` without a title, a \"new-post\" directory gets created (the initial title of the post). When the edits are done, the title changes, and a new directory is created with the new title. But, the old directory does not get cleaned up, leaving an empty directory with nothing inside of it.\r\n\r\nWe should remove the directory if the title changes."}}