Simplify CliWrap usage

This commit is contained in:
Alexey Golub 2020-10-14 01:01:09 +03:00
commit 05e49c4b77
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ namespace Greenshot.Addon.ExternalCommand
var output = await Cli.Wrap(_externalCommandDefinition.Command)
.WithArguments(string.Format(_externalCommandDefinition.Arguments, fullPath))
.ExecuteBufferedAsync().Task.ConfigureAwait(false);
.ExecuteBufferedAsync().ConfigureAwait(false);
if (_externalCommandDefinition.CommandBehavior.HasFlag(CommandBehaviors.ParseOutputForUris))
{

View file

@ -19,6 +19,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="CliWrap" Version="3.1.0" />
<PackageReference Include="CliWrap" Version="3.2.1" />
</ItemGroup>
</Project>