Skip to content

Commit

Permalink
restrict the ingredient tokens to the declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Azpillaga committed Jun 12, 2024
1 parent 05f94e1 commit aaa2b40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class KukiServer : KolasuServer<Recipe>(KukiKolasuParser(), "kuki", listOf("kuki
addIngredientAt(ingredient.declaration.position, isDeclaration = true)
}
for (utensil in recipe.utensils) {
addUtensilAt(utensil.position, isDeclaration = true)
addUtensilAt(utensil.declaration.position, isDeclaration = true)
}
for (step in recipe.steps) {
when (step) {
Expand Down

0 comments on commit aaa2b40

Please sign in to comment.