Skip to content

Commit 6897cce

Browse files
committed
cleanuip
1 parent b495a87 commit 6897cce

File tree

2 files changed

+5
-95
lines changed

2 files changed

+5
-95
lines changed

samples/AzureFunctionsApp/APPROVAL_README.md

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/Generators/DurableTaskSourceGenerator.cs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,11 @@ public static class GeneratedDurableTaskExtensions
358358
else
359359
{
360360
// ASP.NET Core-specific service registration methods
361-
// Only generate if there are actually tasks to register
362-
if (orchestrators.Count > 0 || activities.Count > 0 || entities.Count > 0)
363-
{
364-
AddRegistrationMethodForAllTasks(
365-
sourceBuilder,
366-
orchestrators,
367-
activities,
368-
entities);
369-
}
361+
AddRegistrationMethodForAllTasks(
362+
sourceBuilder,
363+
orchestrators,
364+
activities,
365+
entities);
370366
}
371367

372368
sourceBuilder.AppendLine(" }").AppendLine("}");

0 commit comments

Comments
 (0)