Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser allows negative values for recipes #5

Open
wenhaogoh opened this issue Oct 30, 2020 · 0 comments
Open

Parser allows negative values for recipes #5

wenhaogoh opened this issue Oct 30, 2020 · 0 comments

Comments

@wenhaogoh
Copy link
Owner

Steps for recreation:

  1. add recipe hotcakes
  2. edit recipe hotcake /ingredient:add milk /qty -100
  3. Ui shows that the ingredient with negative values has been successfully added.

Perhaps the parser should throw an error to prevent such additions?

Before:

Screenshot 2020-10-30 at 4.38.22 PM.png

After:

Screenshot 2020-10-30 at 4.38.25 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant