We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77fcdc4 commit 311cc6dCopy full SHA for 311cc6d
generators.new/TemplateRenderer.cs
@@ -35,7 +35,7 @@ private class CustomFunctions : ScriptObject
35
{
36
public static string MethodName(params object[] path)
37
38
- var flattenedPath = path.SelectMany(element => element as IEnumerable<string> ?? [element.ToString()!]);
+ var flattenedPath = path.SelectMany(x => x as IEnumerable<string> ?? [x.ToString()!]);
39
return string.Join(" ", flattenedPath).Dehumanize();
40
}
41
0 commit comments