diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-22 21:27:14 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-22 21:27:14 +0200 |
commit | f48ba9aadeb0d8d43b58c41b440d9f1c94082747 (patch) | |
tree | 8952b1f7df359f2320afebe5135120b128348bee /src/executor.rs | |
parent | 04759a7bd14f6aa23ba3339cd791be17ca388ecf (diff) | |
download | rebel-f48ba9aadeb0d8d43b58c41b440d9f1c94082747.tar rebel-f48ba9aadeb0d8d43b58c41b440d9f1c94082747.zip |
executor: do not allow overriding base args for now
Diffstat (limited to 'src/executor.rs')
-rw-r--r-- | src/executor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor.rs b/src/executor.rs index 333a05c..156bf0f 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -137,8 +137,8 @@ impl<'ctx> Executor<'ctx> { } fn eval_command(&self, task_def: &TaskDef, task_args: &TaskArgs) -> Result<String> { - let mut args = self.base_args.clone(); - args.0.extend(task_args.0.clone()); + let mut args = task_args.clone(); + args.0.extend(self.base_args.0.clone()); self.tpl.eval(&task_def, &args) } |