Open wwweert123 opened 10 months ago
Thanks for your suggestion! It is indeed a good suggestion and we will implement it in the future! However, as this is just a suggestion and not a bug, we decided to reject it as per the guidelines below:
Team chose [response.Rejected
]
Reason for disagreement: I understand that my "bug" seems to have been phrased as a suggestion. However, I feel that the error message printed is slightly misleading as it seems to imply that a stock has been removed when in fact no stock was removed. To prevent such a misleading error message, the implementation in the code could have skipped an empty line. Thus, I believe that there could be a cosmetic bug here which might be misleading to the user
I edited the pantry_stock.txt by adding an extra line
However, the application seems to think that there was some input in that line and stated that that stock will be removed
A very minor bug, but perhaps it is better to skip a line if the line will be empty when scanning the file