diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 67c6541..db517d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ mod executor; use jsonformat::{format_json, Indentation}; use barbfile::BarbFile; -use executor::Executor; +use executor::{Context, Executor}; use clap::Parser; @@ -47,7 +47,7 @@ impl Args { fn main() { let args = Args::parse(); - let mut executor = Executor::new(); + let mut executor = Executor::new(Context::new(env::vars())); let bfile = BarbFile::from_str( fs::read_to_string("test.barb") .expect("Failed to read file") |