Skip to content

Commit b69f73d

Browse files
Update dependency SimpleExec to v13 (#601)
* Update dependency SimpleExec to v13 * React to API changes --------- Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com> Co-authored-by: Brandon Ording <bording@gmail.com>
1 parent dde1057 commit b69f73d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Tests/DotNetTemplatesHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class DotNetTemplatesHelper
1414

1515
public static async Task<(string StandardOutput, string StandardError)> ExecuteNew(string parameters, CancellationToken cancellationToken = default)
1616
{
17-
var (stdout, stderr) = await Command.ReadAsync(dotNetCli, "new " + parameters, cancellationToken: cancellationToken).ConfigureAwait(false);
17+
var (stdout, stderr) = await Command.ReadAsync(dotNetCli, "new " + parameters, ct: cancellationToken).ConfigureAwait(false);
1818

1919
Console.WriteLine(stdout);
2020
if (!string.IsNullOrWhiteSpace(stderr))
@@ -65,12 +65,12 @@ static string FormatParameters(Dictionary<string, string> parameters)
6565
public static async Task Build(string projectDirectory, CancellationToken cancellationToken = default)
6666
{
6767
var projectFile = Directory.EnumerateFiles(projectDirectory, "*.csproj").Single();
68-
_ = await Command.ReadAsync(dotNetCli, $" build {projectFile}", cancellationToken: cancellationToken).ConfigureAwait(false);
68+
_ = await Command.ReadAsync(dotNetCli, $" build {projectFile}", ct: cancellationToken).ConfigureAwait(false);
6969
}
7070

7171
public static async Task Restore(string projectDirectory, CancellationToken cancellationToken = default)
7272
{
7373
var projectFile = Directory.EnumerateFiles(projectDirectory, "*.csproj").Single();
74-
_ = await Command.ReadAsync(dotNetCli, $" restore {projectFile}", cancellationToken: cancellationToken).ConfigureAwait(false);
74+
_ = await Command.ReadAsync(dotNetCli, $" restore {projectFile}", ct: cancellationToken).ConfigureAwait(false);
7575
}
7676
}

src/Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="NUnit.Analyzers" Version="4.11.2" />
1212
<PackageReference Include="NUnit3TestAdapter" Version="6.0.1" />
1313
<PackageReference Include="Particular.Approvals" Version="2.0.1" />
14-
<PackageReference Include="SimpleExec" Version="12.1.0" />
14+
<PackageReference Include="SimpleExec" Version="13.0.0" />
1515
</ItemGroup>
1616

1717
</Project>

0 commit comments

Comments
 (0)