Skip to content

Commit

Permalink
chore(BaiduSpeech): bump version 8.1.1 (#54)
Browse files Browse the repository at this point in the history
* chore: bump version 8.1.1

* chore: 移除 bUnit 命名空间
  • Loading branch information
ArgoZhang authored Oct 13, 2024
1 parent ebdafe3 commit 536eba9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,13 @@ await Task.Run(() =>
if (err_no == 0)
{
var sb = new StringBuilder();
var text = result["result"].ToArray();
foreach (var item in text)
var text = result["result"]?.ToArray();
if (text != null)
{
sb.Append(item.ToString());
foreach (var item in text)
{
sb.Append(item.ToString());
}
}
data = sb.ToString();
Logger.LogInformation("recognizer: {data}", data);
Expand Down
1 change: 0 additions & 1 deletion test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<ItemGroup>
<Using Include="BootstrapBlazor.Components"/>
<Using Include="Bunit"/>
<Using Include="Microsoft.AspNetCore.Components"/>
<Using Include="Microsoft.Extensions.DependencyInjection" />
<Using Include="System.Diagnostics.CodeAnalysis"/>
Expand Down

0 comments on commit 536eba9

Please sign in to comment.