Skip to content

Commit 5b82896

Browse files
committed
Removed redundant proxy checks.
1 parent 24dc6a7 commit 5b82896

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/WebJobs.Script/Description/DotNet/DotNetFunctionDescriptorProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private void Dispose(bool disposing)
5959
}
6060

6161
// We can only handle script types supported by the current compilation service factory
62-
if (!_compilationServiceFactory.SupportedLanguages.Contains(functionMetadata.Language) || functionMetadata.IsProxy())
62+
if (!_compilationServiceFactory.SupportedLanguages.Contains(functionMetadata.Language))
6363
{
6464
return (false, null);
6565
}

src/WebJobs.Script/Description/Workers/Rpc/RpcFunctionDescriptorProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public RpcFunctionDescriptorProvider(ScriptHost host, string workerRuntime, Scri
2929
throw new ArgumentNullException(nameof(functionMetadata));
3030
}
3131

32-
if (!Utility.IsFunctionMetadataLanguageSupportedByWorkerRuntime(functionMetadata, _workerRuntime) || functionMetadata.IsProxy())
32+
if (!Utility.IsFunctionMetadataLanguageSupportedByWorkerRuntime(functionMetadata, _workerRuntime))
3333
{
3434
return (false, null);
3535
}

0 commit comments

Comments
 (0)