summaryrefslogtreecommitdiffstats
path: root/src/runner
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-04 18:10:49 -0500
committerJesse Luehrs <doy@tozt.net>2022-03-04 18:10:49 -0500
commite1bfb9bc59a6a97594cb5c2c51cc4ca8ee813a23 (patch)
treea7b9f6982b76e0e56c3cbc2c2909f6e9e04a8582 /src/runner
parentb1c5f2f31874fc019b67ae981f66e0492b22c867 (diff)
downloadnbsh-e1bfb9bc59a6a97594cb5c2c51cc4ca8ee813a23.tar.gz
nbsh-e1bfb9bc59a6a97594cb5c2c51cc4ca8ee813a23.zip
refactor inputs
Diffstat (limited to 'src/runner')
-rw-r--r--src/runner/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/mod.rs b/src/runner/mod.rs
index 628b333..ea55b34 100644
--- a/src/runner/mod.rs
+++ b/src/runner/mod.rs
@@ -68,7 +68,7 @@ enum Frame {
For(bool, usize, Vec<String>),
}
-pub async fn run(
+pub async fn main(
commands: String,
shell_write: &mut Option<tokio::fs::File>,
) -> Result<i32> {