cooklang / cooklang/cookcli

Pantry items with multi-word names or units are ignored in the shopping list

Open
#199 1 comment 0 reactions 0 assignees View on GitHub
area: pantry area: shopping-list bug
Dominant language
Rust
Stars
1.4k
Forks
109
Avg merge
1d 22h
Merged PRs (30d)
19

Description

I see that at least my garlic is not on the list (expected behavior with both units as cloves). However, I have milk and half-and-half in cups on the recipe ingredient and in the pantry, yet it's still on the shopping list. The other ingredients (carrots, flour, sugar) do not have units in the pantry, so the limitation you mentioned makes sense for those.

The other issue is why it doesn't pick up on the unsalted butter at all. I made the units match, and I tried giving the aisle.conf a line for "unsalted butter | unsalted_butter". From what I can see, this happens with any pantry item that isn't a single word.

Image

Image

also I just realized my ingredient for the butter says "tbps" while the pantry says "tbsp". I fixed it, but it didn't change anything regarding the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.