Skip to content

Commit

Permalink
Update trane to v0.19.2 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored Mar 31, 2024
1 parent e9558ed commit b119f04
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 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.0"
version = "0.19.1"
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.0"
trane = "0.19.2"
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 @@ -1093,7 +1093,7 @@ impl TraneApp {
}

/// Searches for units which match the given query.
pub fn search(&self, terms: &Vec<String>) -> Result<()> {
pub fn search(&self, terms: &[String]) -> Result<()> {
ensure!(self.trane.is_some(), "no Trane instance is open");
ensure!(!terms.is_empty(), "no search terms given");

Expand Down

0 comments on commit b119f04

Please sign in to comment.