Skip to content

Commit fbaddcc

Browse files
docs: remove confusing section
1 parent 82dbefd commit fbaddcc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Configurations.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,9 +2411,7 @@ Except by `*`, any of the semver operators can be combined, being split with com
24112411

24122412
Since `*` has range restrictions, any comparator will override the wildcard operator. When `*` is used alone, the comparison always fails, as that's an invalid config. `*, <1.0.0` for example is invalid.
24132413

2414-
Versions can't contradict themselves, otherwise they'll always fail. Some examples are `"1.*, <2.0.0"` and `1.0.*, <2.0.0`, since both versions can't be true at the same time.
2415-
2416-
By now, `&&` (using comma `,`) is the only way to declare `required_version`. `||` Operator is not valid. Valid examples are `1.0.0, 1.1.0` and `1.0.0, 1.1.0, 1.1.*` but not `1.0.0 || 1.1.0` or `1.0.0, 2.0.0`.
2414+
Versions can't contradict themselves, otherwise they'll always fail. Some examples are `"1.*, >2.0.0"`, `1.0.*, >2.0.0`, since both versions can't be true at the same time.
24172415

24182416
```toml
24192417
required_version=">=1.0.0, <2.0.0"

0 commit comments

Comments
 (0)