summaryrefslogtreecommitdiffstats
path: root/crates/driver/src/driver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/driver/src/driver.rs')
-rw-r--r--crates/driver/src/driver.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs
index 5a00882..28c8578 100644
--- a/crates/driver/src/driver.rs
+++ b/crates/driver/src/driver.rs
@@ -53,11 +53,9 @@ impl<'ctx> CompletionState<'ctx> {
.iter()
.map(|Fetch { name, sha256 }| {
Ok(Dependency::Fetch {
- name: template::ENGINE
- .eval_raw(name, &task.args)
- .with_context(|| {
- format!("Failed to evaluate fetch filename for task {}", task)
- })?,
+ name: template::ENGINE.eval(name, &task.args).with_context(|| {
+ format!("Failed to evaluate fetch filename for task {}", task)
+ })?,
target_dir: paths::TASK_DLDIR.to_string(),
sha256: *sha256,
})
@@ -322,7 +320,7 @@ impl<'ctx> Driver<'ctx> {
run.push(&task_def.action.run);
let command = template::ENGINE
- .eval(&run.concat(), &task_ref.args)
+ .eval_sh(&run.concat(), &task_ref.args)
.with_context(|| {
format!("Failed to evaluate command template for task {}", task_ref)
})?;