mirror of https://github.com/astral-sh/uv
Fix grammar in missing platform marker error message (#9240)
`s/a platform markers/a platform marker/`
This commit is contained in:
parent
0454c3b3ec
commit
62e0ee7f67
|
|
@ -1278,7 +1278,7 @@ pub enum SourceError {
|
|||
NonUtf8Path(PathBuf),
|
||||
#[error("Source markers must be disjoint, but the following markers overlap: `{0}` and `{1}`.\n\n{hint}{colon} replace `{1}` with `{2}`.", hint = "hint".bold().cyan(), colon = ":".bold())]
|
||||
OverlappingMarkers(String, String, String),
|
||||
#[error("When multiple sources are provided, each source must include a platform markers (e.g., `marker = \"sys_platform == 'linux'\"`)")]
|
||||
#[error("When multiple sources are provided, each source must include a platform marker (e.g., `marker = \"sys_platform == 'linux'\"`)")]
|
||||
MissingMarkers,
|
||||
#[error("Must provide at least one source")]
|
||||
EmptySources,
|
||||
|
|
|
|||
|
|
@ -18068,7 +18068,7 @@ fn lock_multiple_sources_no_marker() -> Result<()> {
|
|||
|
|
||||
9 | iniconfig = [
|
||||
| ^
|
||||
When multiple sources are provided, each source must include a platform markers (e.g., `marker = "sys_platform == 'linux'"`)
|
||||
When multiple sources are provided, each source must include a platform marker (e.g., `marker = "sys_platform == 'linux'"`)
|
||||
"###);
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Reference in New Issue