Skip to content

Commit f5684a7

Browse files
docs: improve contradicting requirements explanation
1 parent 23cf487 commit f5684a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2411,7 +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"`, `1.0.*, >2.0.0`, since both versions can't be true at the same time.
2414+
Version requirements can't contradict themselves, otherwise they'll always fail. Some examples are `"1.*, >2.0.0"`, `1.0.*, >2.0.0` and `<1.5.0, >1.10.*`, because both requirements can't be true at the same time.
24152415

24162416
```toml
24172417
required_version=">=1.0.0, <2.0.0"

0 commit comments

Comments
 (0)