{"action":"closed","issue":{"url":"https://api.github.com/repos/errbufferoverfl/readme_generator/issues/1","labels_url":"https://api.github.com/repos/errbufferoverfl/readme_generator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/errbufferoverfl/readme_generator/issues/1/comments","events_url":"https://api.github.com/repos/errbufferoverfl/readme_generator/issues/1/events","html_url":"https://github.com/errbufferoverfl/readme_generator/issues/1","id":110864269,"number":1,"title":"Pretty printing malformed branches","user":{"login":"errbufferoverfl","id":4445089,"avatar_url":"https://avatars.githubusercontent.com/u/4445089?v=3","gravatar_id":"","url":"https://api.github.com/users/errbufferoverfl","html_url":"https://github.com/errbufferoverfl","followers_url":"https://api.github.com/users/errbufferoverfl/followers","following_url":"https://api.github.com/users/errbufferoverfl/following{/other_user}","gists_url":"https://api.github.com/users/errbufferoverfl/gists{/gist_id}","starred_url":"https://api.github.com/users/errbufferoverfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errbufferoverfl/subscriptions","organizations_url":"https://api.github.com/users/errbufferoverfl/orgs","repos_url":"https://api.github.com/users/errbufferoverfl/repos","events_url":"https://api.github.com/users/errbufferoverfl/events{/privacy}","received_events_url":"https://api.github.com/users/errbufferoverfl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/errbufferoverfl/readme_generator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-11T15:50:39Z","updated_at":"2015-10-16T04:02:39Z","closed_at":"2015-10-16T04:02:39Z","body":"# pretty_directory.py\r\nPretty printing is generating some malformed branches (see hapster leading to goats folder), printing bug probably occurs in the calculate_indent function on line 17 - may need to take into account the number of dirs on that level??\r\n\r\n**output**\r\n\r\n    .\r\n    ├──xyzz\r\n    ├──drama\r\n        ├──probably\r\n        ├──well\r\n        ├──as\r\n        ├──here\r\n    ├──llama\r\n    └──hats\r\n        ├──trees\r\n        │    ├──root\r\n        │    │    ├──boot\r\n        │    │    │    ├──hello\r\n        │    │    │    ├──pajamas\r\n        │    │    │    ├──hats\r\n        │    │    ├──tools\r\n        │    │    │    ├──why\r\n        │    │    │    ├──does\r\n        │    │    │    ├──it\r\n        │    │    │    ├──keep\r\n        │    │    │    └──working\r\n        │    └──hapster\r\n        │    │    ├──break\r\n        │    │    ├──does\r\n        │    │    ├──it\r\n        │    │    └──here?\r\n        └──goats"}}