diff options
author | Yiyu Lin <linyiyu1992@gmail.com> | 2023-01-06 03:29:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 14:29:50 -0500 |
commit | 896dd56b7af06fea6604a5596a6ffd17e7e52e6e (patch) | |
tree | 92d3c94afe4923f1d1faccc8034a03f78b807ade /cli/worker.rs | |
parent | 4e6b78cb43ece70df28281c8033b51366b110acf (diff) |
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 0b991fdd6..ea50966f4 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -100,7 +100,7 @@ impl CliMainWorker { .await?; } - Ok(self.worker.get_exit_code()) + Ok(self.worker.exit_code()) } pub async fn run_for_watcher(self) -> Result<(), AnyError> { |