Skip to content

Commit

Permalink
fix(xtask): runtime within a runtime within a runtime within a runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronArinder committed Jul 18, 2024
1 parent 0b3ecd7 commit f241400
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ impl Xtask {
Command::Prep(command) => command.run().await,
Command::Package(command) => command.run(),
Command::SecurityChecks(command) => command.run(),
Command::GithubActions(command) => {
tokio::runtime::Runtime::new()?.block_on(command.run())
}
Command::GithubActions(command) => command.run().await,
Command::Smoke(command) => tokio::runtime::Runtime::new()?.block_on(command.run()),
}?;
eprintln!("{}", style("Success!").green().bold());
Expand Down

0 comments on commit f241400

Please sign in to comment.