Skip to content

Commit

Permalink
Update src/Kiota.Builder/Writers/Shell/ShellCodeMethodWriter.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Biret <[email protected]>
  • Loading branch information
calebkiage and baywet authored Aug 18, 2022
1 parent f8e735e commit aa4f0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Writers/Shell/ShellCodeMethodWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private void WriteExecutableCommand(CodeMethod codeElement, RequestParams reques
}
}
return (type, NormalizeToIdentifier(p.Name), p);
}).DistinctBy(p => p.Item2).ToList();
}).DistinctBy(static p => p.Item2).ToList();
var availableOptions = WriteExecutableCommandOptions(writer, parameters);

var isHandlerVoid = conventions.VoidTypeName.Equals(originalMethod.ReturnType.Name, StringComparison.OrdinalIgnoreCase);
Expand Down

0 comments on commit aa4f0c8

Please sign in to comment.