Skip to content

Commit

Permalink
fix(exec): no varfile exec std
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed May 9, 2023
1 parent 0e5fdfe commit 367befb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ fn exec(args: Vec<String>, varfile: String, workspaceformat: String) {
}

fn single_threaded_exec(args: Vec<String>, cmd: Commands) {
if cmd.varfiles.is_empty() {
println!("terraform {}", args.join(" "));
return;
}
for f in cmd.varfiles {
exec(args.clone(), f, cmd.workspaceformat.clone());
}
Expand Down

0 comments on commit 367befb

Please sign in to comment.