Skip to content

Commit

Permalink
Have CI report errors
Browse files Browse the repository at this point in the history
  • Loading branch information
reknih committed Aug 5, 2024
1 parent 025c97a commit bd66f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ archive = ["ciborium"]
csl-json = ["citationberg/json"]

[dependencies]
citationberg = { git = "https://github.com/typst/citationberg.git", rev = "ff1b135" }
citationberg = { git = "https://github.com/typst/citationberg.git", rev = "ad52765" }
indexmap = { version = "2.0.2", features = ["serde"] }
numerals = "0.1.4"
paste = "1.0.14"
Expand Down
3 changes: 2 additions & 1 deletion src/csl/taxonomy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,8 @@ impl EntryLike for citationberg::json::Item {
{
return n
.range()
.map(|r| MaybeTyped::Typed(Cow::Owned(Numeric::from(*r.start()))));
.and_then(|r| r.first())
.map(|r| MaybeTyped::Typed(Cow::Owned(r.clone())));
}
}
match self.0.get(&variable.to_string())? {
Expand Down

0 comments on commit bd66f01

Please sign in to comment.