From efe369ac562dcfd52b2395cdc13ddad68c2021e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 17 Aug 2024 17:56:27 +0200 Subject: [PATCH] uncomment of CLIwrap test --- src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs b/src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs index 134e038..adb4de2 100644 --- a/src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs +++ b/src/Amusoft.DotnetNew.Tests/CLI/DotnetNew.cs @@ -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)); + // } } }