Skip to content

[Use Ingredient] App crashes when inputting invalid quantity #2

Description

@imaginarys96

Description

App crashes when inputting invalid quantity when running the use i command

Steps to Reproduce

  1. Add an ingredient by running add i/veg,2,pc
  2. Run an invalid use i command : use i/veg,--2,pc
  3. The app will crash

Actual Output

image.png

Expected Output

The app should handle the input --2 correctly and not crash.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions