Minor cleanup
This commit is contained in:
parent
bd23810972
commit
149916c73d
|
|
@ -16,6 +16,6 @@ namespace Elsa.Services
|
|||
yield return workflow;
|
||||
}
|
||||
|
||||
protected virtual ValueTask<IEnumerable<IWorkflowBlueprint>> OnGetWorkflowsAsync(CancellationToken cancellationToken) => new ValueTask<IEnumerable<IWorkflowBlueprint>>(new IWorkflowBlueprint[0]);
|
||||
protected virtual ValueTask<IEnumerable<IWorkflowBlueprint>> OnGetWorkflowsAsync(CancellationToken cancellationToken) => new(new IWorkflowBlueprint[0]);
|
||||
}
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ namespace Elsa.Activities.ControlFlow
|
|||
|
||||
context.WorkflowInstance.Scopes = new SimpleStack<ActivityScope>(scopes.AsEnumerable().Reverse());
|
||||
|
||||
// Return output
|
||||
// Return output.
|
||||
var output = new FinishOutput(OutputValue, OutcomeNames);
|
||||
|
||||
return Output(output);
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ namespace Elsa.Services
|
|||
|
||||
if (prop == null)
|
||||
{
|
||||
_logger.LogWarning("Could not find the specified property '{PropertyName}' for activity type {ActivityTypeName}. The most likely reason is that the activity property was renamed/removed/refactored after the workflow definition was created", property.Name, activityType.Type.Name);
|
||||
_logger.LogWarning("Could not find the specified property '{PropertyName}' for activity type {ActivityTypeName}. Was the activity property renamed/removed/refactored after the workflow definition was created?", property.Name, activityType.Type.Name);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue