Skip to content

Commit

Permalink
Update trane to v0.20.0 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored Apr 12, 2024
1 parent b119f04 commit e9c1a28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "trane-cli"
version = "0.19.1"
version = "0.20.0"
build = "build.rs"
default-run = "trane"

Expand All @@ -23,7 +23,7 @@ rustyline = "11.0.0"
rustyline-derive = "0.8.0"
serde_json = "1.0.93"
termimad = "0.22.0"
trane = "0.19.2"
trane = "0.20.0"
ustr = { version = "0.9.0", features = ["serialization"] }
# Commented out for use in local development.
# trane = { path = "../trane" }
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ impl TraneApp {

/// Opens the course library at the given path.
pub fn open_library(&mut self, library_root: &str) -> Result<()> {
let trane = Trane::new(&std::env::current_dir()?, Path::new(library_root))?;
let trane = Trane::new_local(&std::env::current_dir()?, Path::new(library_root))?;
self.trane = Some(trane);
self.batch.drain(..);
self.batch_index = 0;
Expand Down

0 comments on commit e9c1a28

Please sign in to comment.