Skip to content

Commit 8afcd0e

Browse files
committed
Using the new CommandRunner in parse_all()
1 parent 0a5539a commit 8afcd0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/actions.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,10 @@ pub fn parse_all(root: &Path) {
455455
print_step("Checking validity of Lua scripts...");
456456

457457
for script in &scripts {
458-
execute(&parser, vec!["-p".to_string(), script.to_str().unwrap().to_string()], true);
458+
CommandRunner::new(&parser)
459+
.add_args(vec!["-p", script.to_str().unwrap()])
460+
.set_quiet(true)
461+
.run();
459462
}
460463

461464
print_step("Checking for deprecated features...");

0 commit comments

Comments
 (0)