Skip to content

Commit

Permalink
Netstandard2.0 doesn't support single char. Double quote strings requ…
Browse files Browse the repository at this point in the history
…ired
  • Loading branch information
jsheely authored and FrankRay78 committed Mar 19, 2024
1 parent 56c600d commit 7e313bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spectre.Console/Color.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static Color FromInt32(int number)
/// <returns>The color created from the hexadecimal string.</returns>
public static Color FromHex(string hex)
{
if (hex.StartsWith('#'))
if (hex.StartsWith("#"))
{
hex = hex.Substring(1);
}
Expand Down

0 comments on commit 7e313bd

Please sign in to comment.