This commit is contained in:
sxyazi 2026-04-06 14:51:52 +08:00
parent 1d84e0a200
commit 0922b9ac73
No known key found for this signature in database
7 changed files with 5 additions and 17 deletions

7
Cargo.lock generated
View file

@ -6112,8 +6112,6 @@ dependencies = [
"yazi-dds",
"yazi-fs",
"yazi-macro",
"yazi-plugin",
"yazi-runner",
"yazi-scheduler",
"yazi-shared",
"yazi-vfs",
@ -6172,7 +6170,6 @@ dependencies = [
"yazi-config",
"yazi-core",
"yazi-macro",
"yazi-runner",
"yazi-scheduler",
"yazi-shared",
"yazi-widgets",
@ -6183,12 +6180,9 @@ name = "yazi-runner"
version = "26.2.2"
dependencies = [
"anyhow",
"dyn-clone",
"hashbrown 0.16.1",
"mlua",
"parking_lot",
"serde",
"strum 0.28.0",
"thiserror 2.0.18",
"tokio",
"tokio-util",
@ -6218,7 +6212,6 @@ dependencies = [
"serde",
"strum 0.28.0",
"tokio",
"tokio-util",
"tracing",
"yazi-binding",
"yazi-config",

View file

@ -24,8 +24,6 @@ yazi-core = { path = "../yazi-core", version = "26.2.2" }
yazi-dds = { path = "../yazi-dds", version = "26.2.2" }
yazi-fs = { path = "../yazi-fs", version = "26.2.2" }
yazi-macro = { path = "../yazi-macro", version = "26.2.2" }
yazi-plugin = { path = "../yazi-plugin", version = "26.2.2" }
yazi-runner = { path = "../yazi-runner", version = "26.2.2" }
yazi-scheduler = { path = "../yazi-scheduler", version = "26.2.2" }
yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
yazi-vfs = { path = "../yazi-vfs", version = "26.2.2" }

View file

@ -19,10 +19,12 @@ end
function M:init(job)
local from = job.args[1] and Url(job.args[1])
local to = job.args[2] ~= "" and Url(job.args[2]) or from.parent
if not from then
fail("No URL provided")
elseif not to then
end
local to = job.args[2] ~= "" and Url(job.args[2]) or from.parent
if not to then
fail("Failed to determine target directory for '%s'", from)
end

View file

@ -16,7 +16,6 @@ workspace = true
yazi-config = { path = "../yazi-config", version = "26.2.2" }
yazi-core = { path = "../yazi-core", version = "26.2.2" }
yazi-macro = { path = "../yazi-macro", version = "26.2.2" }
yazi-runner = { path = "../yazi-runner", version = "26.2.2" }
yazi-scheduler = { path = "../yazi-scheduler", version = "26.2.2" }
yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
yazi-widgets = { path = "../yazi-widgets", version = "26.2.2" }

View file

@ -23,12 +23,9 @@ yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
# External dependencies
anyhow = { workspace = true }
dyn-clone = { workspace = true }
hashbrown = { workspace = true }
mlua = { workspace = true }
parking_lot = { workspace = true }
serde = { workspace = true }
strum = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }

View file

@ -35,7 +35,6 @@ parking_lot = { workspace = true }
serde = { workspace = true }
strum = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
[target."cfg(unix)".dependencies]

View file

@ -364,7 +364,7 @@ impl TaskIn for HookInPreload {
self
}
fn title(&self) -> Cow<'_, str> { todo!() }
fn title(&self) -> Cow<'_, str> { format!("Hook: run {}-th preloader", self.idx).into() }
}
impl HookInPreload {