bootdotdev / bootdev

A CLI used to complete coding challenges and lessons on Boot.dev
https://www.boot.dev
MIT License
374 stars 15 forks source link

config not found scaring people #34

Closed skovranek closed 2 months ago

skovranek commented 2 months ago

Super Scary Bug reported by users!

https://github.com/bootdotdev/courses/issues/8418

Steps to replicate:

Remove config file, run bootdev login or help, outputs:

Error: Config File "config" Not Found in "[]"

This also creates the config file and it runs normally afterwards, so it's not broken.

Possible solution:

Maybe don't have this error? Since it makes the config file, why not just echo "creating config file" then proceed with the command? IDK what is the convention for such things.

@cgsdev0