diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-06 16:16:44 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-06 16:16:44 -0500 |
commit | d0025fc7008ea87c82cf666bf1a78a068810e962 (patch) | |
tree | 114b813700b5d040b0cadd73a58eb8d783c45746 /src/StardewModdingAPI/Extensions.cs | |
parent | 956e477edb515953e71d1cce1a728284f6ce3cc0 (diff) | |
download | SMAPI-d0025fc7008ea87c82cf666bf1a78a068810e962.tar.gz SMAPI-d0025fc7008ea87c82cf666bf1a78a068810e962.tar.bz2 SMAPI-d0025fc7008ea87c82cf666bf1a78a068810e962.zip |
increase deprecation severity of method disabled in 0.39.3 (#165)
Diffstat (limited to 'src/StardewModdingAPI/Extensions.cs')
-rw-r--r-- | src/StardewModdingAPI/Extensions.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Extensions.cs b/src/StardewModdingAPI/Extensions.cs index a14ca613..7fd98889 100644 --- a/src/StardewModdingAPI/Extensions.cs +++ b/src/StardewModdingAPI/Extensions.cs @@ -59,8 +59,7 @@ namespace StardewModdingAPI [Obsolete("The usage of ToSingular has changed. Please update your call to use ToSingular<T>")] public static string ToSingular(this IEnumerable ienum, string split = ", ") { - Program.DeprecationManager.Warn($"{nameof(Extensions)}.{nameof(Extensions.ToSingular)}", "1.0", DeprecationLevel.Info); - Log.Error("The usage of ToSingular has changed. Please update your call to use ToSingular<T>"); + Program.DeprecationManager.Warn($"{nameof(Extensions)}.{nameof(Extensions.ToSingular)}", "1.0", DeprecationLevel.PendingRemoval); return ""; } @@ -75,7 +74,7 @@ namespace StardewModdingAPI //Apparently Keys[] won't split normally :l if (typeof(T) == typeof(Keys)) { - return string.Join(split, ienum.ToArray()); + return string.Join(split, ienum.ToArray()); } return string.Join(split, ienum); } |