Skip to content

Commit

Permalink
Add source.type
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jun 24, 2024
1 parent 13b6254 commit 81cf155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rye/src/pyproject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl SourceRef {
.get("type")
.and_then(|x| x.as_str())
.map_or(Ok(SourceRefType::Index), |x| x.parse::<SourceRefType>())
.context("invalid value for type")?;
.context("invalid value for source.type")?;
Ok(SourceRef {
name,
url,
Expand Down

0 comments on commit 81cf155

Please sign in to comment.