Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit f5f38b7

Browse files
committed
fix naming reference on .net 7.0.200
1 parent b8491d8 commit f5f38b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PlasticCommand/Generator/CommandGenerators/CommandGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected virtual string BuildServiceInjectionCodeForPipelineContext(
8484
var builder = new StringBuilder();
8585
foreach (IParameterSymbol item in parameters)
8686
{
87-
builder.Append($"\t\t\t\tprovider.GetService<{item}>(),\n");
87+
builder.Append($"\t\t\t\tprovider.GetService<{item.Type}>(),\n");
8888
builder.Replace("?", string.Empty); // to not null
8989
}
9090

0 commit comments

Comments
 (0)