Skip to content

Commit cd50c9d

Browse files
committed
Netstandard2.0 doesn't support single char. Double quote strings required
1 parent 771cf08 commit cd50c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spectre.Console/Color.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public static Color FromInt32(int number)
220220
/// <returns>The color created from the hexadecimal string.</returns>
221221
public static Color FromHex(string hex)
222222
{
223-
if (hex.StartsWith('#'))
223+
if (hex.StartsWith("#"))
224224
{
225225
hex = hex.Substring(1);
226226
}

0 commit comments

Comments
 (0)