latest pushes
This commit is contained in:
parent
a4dfa81ed4
commit
bd88dd0e36
Binary file not shown.
@ -23,7 +23,6 @@ use crate::executor_processes::executor::Executor;
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let args: Vec<String> = std::env::args().collect();
|
let args: Vec<String> = std::env::args().collect();
|
||||||
println!("Arguments: {:?}", args);
|
|
||||||
|
|
||||||
let mut executor = Executor::new();
|
let mut executor = Executor::new();
|
||||||
if let Err(e) = executor.run(args) {
|
if let Err(e) = executor.run(args) {
|
||||||
|
@ -47,8 +47,6 @@ impl Executor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn execute_script(&mut self, filename: &str) -> Result<(), String> {
|
fn execute_script(&mut self, filename: &str) -> Result<(), String> {
|
||||||
println!("Executing script: {}", filename);
|
|
||||||
|
|
||||||
if !filename.ends_with(".bellos") {
|
if !filename.ends_with(".bellos") {
|
||||||
return Err(format!("Not a .bellos script: {}", filename));
|
return Err(format!("Not a .bellos script: {}", filename));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user