Skip to content

Commit

Permalink
docs: fix docs for correctness (prefix-dev#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnimarun authored Nov 27, 2023
1 parent 55631ae commit 518b63a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requirements:
host:
- if: unix
then: unix-tool
- if: win:
- if: win
then: win-tool
```
Expand Down Expand Up @@ -86,11 +86,11 @@ variant version has a matching version. For example, if we have again a `python:
3.8` variant, we could use the following tests:

```yaml
- if: cmp(python, "3.8")) # true
- if: cmp(python, "3.8") # true
then: mydep
- if: cmp(python, ">=3.8")) # true
- if: cmp(python, ">=3.8") # true
then: mydep
- if: cmp(python, "<3.8")) # false
- if: cmp(python, "<3.8") # false
then: mydep
```

Expand Down

0 comments on commit 518b63a

Please sign in to comment.