Skip to content

Commit

Permalink
-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aprius committed Sep 14, 2023
1 parent ec2e502 commit cc23539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/UniTask/Runtime/Internal/DiagnosticsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static string BeautifyType(Type t, bool shortName)
{
return "(" + string.Join(", ", t.GetGenericArguments().Select(x => BeautifyType(x, true))) + ")";
}
if (!t.IsGenericType) return shortName ? t.Name : t.FullName.Replace("Pancake.Threading.Tasks.Triggers.", "").Replace("Cysharp.Threading.Tasks.Internal.", "").Replace("Pancake.Threading.Tasks.", "") ?? t.Name;
if (!t.IsGenericType) return shortName ? t.Name : t.FullName.Replace("Pancake.Threading.Tasks.Triggers.", "").Replace("Pancake.Threading.Tasks.Internal.", "").Replace("Pancake.Threading.Tasks.", "") ?? t.Name;

var innerFormat = string.Join(", ", t.GetGenericArguments().Select(x => BeautifyType(x, true)));

Expand Down

0 comments on commit cc23539

Please sign in to comment.