Skip to content

Commit

Permalink
Merge pull request #1213 from nunit/issue-1178
Browse files Browse the repository at this point in the history
Re-fix issue 1178
  • Loading branch information
CharliePoole authored Sep 11, 2022
2 parents a55acb3 + aa6e34e commit 80f67d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ Task("BuildTestAndPackage")
Task("Appveyor")
.Description("Target we run in our AppVeyor CI")
.IsDependentOn("BuildTestAndPackage")
.IsDependentOn("PublishPackages")
//.IsDependentOn("PublishPackages")
.IsDependentOn("CreateDraftRelease")
.IsDependentOn("CreateProductionRelease");

Expand Down
5 changes: 3 additions & 2 deletions src/NUnitConsole/nunit3-console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ public static int Main(string[] args)
if (Options.WorkDirectory != null)
engine.WorkDirectory = Options.WorkDirectory;

if (Options.InternalTraceLevel != null)
engine.InternalTraceLevel = (InternalTraceLevel)Enum.Parse(typeof(InternalTraceLevel), Options.InternalTraceLevel);
engine.InternalTraceLevel = Options.InternalTraceLevel != null
? (InternalTraceLevel)Enum.Parse(typeof(InternalTraceLevel), Options.InternalTraceLevel)
: InternalTraceLevel.Off;

try
{
Expand Down
1 change: 0 additions & 1 deletion src/NUnitEngine/nunit-agent/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public static void Main(string[] args)
}

var logName = $"nunit-agent_{pid}.log";
InternalTrace.Initialize(Path.Combine(workDirectory, logName), traceLevel);
log = InternalTrace.GetLogger(typeof(NUnitTestAgent));

log.Info("Agent process {0} starting", pid);
Expand Down

0 comments on commit 80f67d0

Please sign in to comment.