Skip to content

Commit

Permalink
uncomment of CLIwrap test
Browse files Browse the repository at this point in the history
  • Loading branch information
taori committed Aug 17, 2024
1 parent 359c2c9 commit efe369a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ public static async Task BuildAsync(string fullPath, string? arguments, Verbosit
throw new BuildFailedException(fullArgs, loggingScope.ToFullString(PrintKind.All));
}

if (await LoggedDotnetCli.RunDotnetCommandAsync(fullArgs, cancellationToken, []))
{
loggingScope.ParentScope?.AddResult(new TextResult($"success: {fullArgs}"));
}
else
{
throw new BuildFailedException(fullArgs, loggingScope.ToFullString(PrintKind.All));
}
// if (await LoggedDotnetCli.RunDotnetCommandAsync(fullArgs, cancellationToken, []))
// {
// loggingScope.ParentScope?.AddResult(new TextResult($"success: {fullArgs}"));
// }
// else
// {
// throw new BuildFailedException(fullArgs, loggingScope.ToFullString(PrintKind.All));
// }
}
}

Expand Down

0 comments on commit efe369a

Please sign in to comment.