Open nus-pe-bot opened 12 months ago
According to our specification on file format, one line corresponds to one record/goal, so an empty line is regarded as a record/goal that is not incorrectly formatted.
We think the error message is very clear: If you choose to type bye
, you will exit the program and then repair the file format. If you use other commands, you will start with an empty list containing no records/goals.
--
Editing the file "data/diet.txt" to include a few newlines at the end (see screenshot: ) causes an error when launching the app.
The shown error message (see here: ) is confusing: What does "start from empty lists by entering any other command" mean?
[original: nus-cs2113-AY2324S1/pe-interim#899] [original labels: type.FunctionalityBug severity.Low]