cooklang / cooklang/cookcli

cook doctor does not report non-numeric timer values

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

Description

If I have a `.cook` file with a non-numeric timer like:

```
Cook for ~{a few%minutes}.
```

then `cook doctor` will not report any problems when validating the recipe, but [the playground](https://cooklang.github.io/cooklang-rs/) reports an error:

```
Error: Timer value is text: a few
╭─[playground]

1 │ Cook for ~{a few%minutes}.
┆ ──┬──
┆ │
┆ ╰───────────── expected a number here
──╯
```

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.