Skip to content

Commit

Permalink
chore(release): prepare for 25.1.10 (#991)
Browse files Browse the repository at this point in the history
adamperkowski authored Jan 10, 2025
1 parent 06c9a41 commit 50e9827
Showing 5 changed files with 185 additions and 156 deletions.
326 changes: 179 additions & 147 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace.package]
license = "MIT"
version = "24.10.31"
version = "25.1.10"
edition = "2021"

[workspace]
9 changes: 3 additions & 6 deletions core/src/inner.rs
Original file line number Diff line number Diff line change
@@ -131,13 +131,10 @@ impl Entry {
}| {
match data {
SystemDataType::Environment(var_name) => std::env::var(var_name)
.map_or(false, |var| values.contains(&var) == *matches),
.is_ok_and(|var| values.contains(&var) == *matches),
SystemDataType::File(path) => {
std::fs::read_to_string(path).map_or(false, |data| {
values
.iter()
.any(|matching_value| data.contains(matching_value))
== *matches
std::fs::read_to_string(path).is_ok_and(|data| {
values.iter().all(|matching| data.contains(matching)) == *matches
})
}
SystemDataType::CommandExists => values
2 changes: 1 addition & 1 deletion tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ tui-term = { version = "0.2.0", default-features = false }
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"], default-features = false }
unicode-width = { version = "0.2.0", default-features = false }
rand = { version = "0.8.5", optional = true }
linutil_core = { version = "24.10.31", path = "../core" }
linutil_core = { version = "25.1.10", path = "../core" }
tree-sitter-highlight = "0.24.4"
tree-sitter-bash = "0.23.3"
nix = { version = "0.29.0", features = [ "user" ] }
2 changes: 1 addition & 1 deletion tui/src/state.rs
Original file line number Diff line number Diff line change
@@ -733,7 +733,7 @@ impl AppState {
self.filter
.item_list()
.get(selected_index)
.map_or(false, |item| item.has_children)
.is_some_and(|i| i.has_children)
}

pub fn selected_item_is_cmd(&self) -> bool {

0 comments on commit 50e9827

Please sign in to comment.