Closed victorschumacherzup closed 3 years ago
What would you expect when this happen @victorschumacherzup ? An error message ? Something related to the tree.json file ? I believe it could be interesting to give more details 👍🏼
I think it can be silent, because receive a error when i open the terminal is strange
Ok. And does this error impact Ritchie CLI behavior ?
Yes, with a invalid tree, every command result in a nil pointer. In this case a informative error would be fine.
Hmm, in that case I believe we should suggest in this message a step by step to resolve the problem, don't you think ? Cleaning the tree.json files, updating Ritchie, something like this.
Will be resolved by #768
I manually edited a
tree.json
, making it invalid. Now every time i open the terminal, this nil pointer shows up