Skip to content

Commit a45209c

Browse files
committed
Remove unnecessary usings
1 parent 7d3077b commit a45209c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/PowerShell/PowerShellManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
namespace Microsoft.Azure.Functions.PowerShellWorker.PowerShell
1717
{
1818
using Microsoft.Azure.Functions.PowerShellWorker.OpenTelemetry;
19-
using System.Linq;
2019
using System.Management.Automation;
2120
using System.Text;
2221

src/RequestProcessor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ namespace Microsoft.Azure.Functions.PowerShellWorker
2222
using LogLevel = Microsoft.Azure.WebJobs.Script.Grpc.Messages.RpcLog.Types.Level;
2323
using System.Runtime.InteropServices;
2424
using Microsoft.Azure.Functions.PowerShellWorker.OpenTelemetry;
25-
using System.Linq;
2625

2726
internal class RequestProcessor
2827
{
@@ -538,7 +537,7 @@ private static void BindOutputFromResult(InvocationResponse response, AzFunction
538537
}
539538
}
540539

541-
if (functionInfo.DurableFunctionInfo.ProvidesForcedDollarReturnValue || functionInfo.InputBindings.Where(x => x.Value.Type == "assistantSkillTrigger").Any())
540+
if (functionInfo.DurableFunctionInfo.ProvidesForcedDollarReturnValue || FunctionInfoUtilities.hasAssistantSkillTrigger(functionInfo))
542541
{
543542
response.ReturnValue = results[AzFunctionInfo.DollarReturn].ToTypedData(isDurableData: true);
544543
}

0 commit comments

Comments
 (0)