From 5277ecc4daf3002ab6b0a3c6449447de31b00a56 Mon Sep 17 00:00:00 2001 From: Betta_Fish <96322503+zxbmmmmmmmmm@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:44:10 +0800 Subject: [PATCH] fix "AskProvier" typo (#82) --- src/Console/RodelAudio.Console/AudioService.cs | 4 ++-- src/Console/RodelDraw.Console/DrawService.cs | 4 ++-- src/Console/RodelTranslate.Console/TranslateService.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Console/RodelAudio.Console/AudioService.cs b/src/Console/RodelAudio.Console/AudioService.cs index d9979fd..4800ebb 100644 --- a/src/Console/RodelAudio.Console/AudioService.cs +++ b/src/Console/RodelAudio.Console/AudioService.cs @@ -38,7 +38,7 @@ public async Task StartAsync(CancellationToken cancellationToken) { try { - var provider = AskProvier(); + var provider = AskProvider(); await RunAsync(provider); } catch (Exception ex) @@ -94,7 +94,7 @@ await AnsiConsole.Status() Environment.Exit(0); } - private ProviderType AskProvier() + private ProviderType AskProvider() { var providers = AudioStatics.GetOnlineAudioServices(); var provider = AnsiConsole.Prompt( diff --git a/src/Console/RodelDraw.Console/DrawService.cs b/src/Console/RodelDraw.Console/DrawService.cs index 16f809d..ba1ada0 100644 --- a/src/Console/RodelDraw.Console/DrawService.cs +++ b/src/Console/RodelDraw.Console/DrawService.cs @@ -38,7 +38,7 @@ public async Task StartAsync(CancellationToken cancellationToken) { try { - var provider = AskProvier(); + var provider = AskProvider(); await RunAsync(provider); } catch (Exception ex) @@ -92,7 +92,7 @@ await AnsiConsole.Status() Environment.Exit(0); } - private ProviderType AskProvier() + private ProviderType AskProvider() { var providers = DrawStatics.GetOnlineDrawServices(); var provider = AnsiConsole.Prompt( diff --git a/src/Console/RodelTranslate.Console/TranslateService.cs b/src/Console/RodelTranslate.Console/TranslateService.cs index f51dcdc..d035673 100644 --- a/src/Console/RodelTranslate.Console/TranslateService.cs +++ b/src/Console/RodelTranslate.Console/TranslateService.cs @@ -41,7 +41,7 @@ public async Task StartAsync(CancellationToken cancellationToken) { try { - var provider = AskProvier(); + var provider = AskProvider(); await RunAsync(provider); } catch (Exception ex) @@ -90,7 +90,7 @@ await AnsiConsole.Status() } } - private ProviderType AskProvier() + private ProviderType AskProvider() { var providers = TranslateStatics.GetOnlineTranslateServices(); var provider = AnsiConsole.Prompt(