Skip to content

Commit

Permalink
Tweak order
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Dec 26, 2023
1 parent 5b52124 commit b7d1141
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public async Task SetSkipped(SkipDecision skipDecision)
return;
}

Module.ExecutionTask = ModuleResultTaskCompletionSource.Task;

CallbackTask.Start(TaskScheduler.Default);

ModuleResultTaskCompletionSource.TrySetResult(new SkippedModuleResult<T>(Module, skipDecision));

Module.ExecutionTask = ModuleResultTaskCompletionSource.Task;

Logger.LogInformation("{Module} ignored because: {Reason} and no historical results were found", GetType().Name, skipDecision.Reason);
}
Expand Down

0 comments on commit b7d1141

Please sign in to comment.