Fix some code appveyor is being picky with

This commit is contained in:
KillzXGaming 2020-02-06 18:35:42 -05:00
parent 978cb5b8c8
commit f87487cad4

View file

@ -256,9 +256,7 @@ namespace FirstPlugin
private static string ConvertValue(dynamic node)
{
string getBooleanString(Boolean value) => value ? "true" : "false";
if (node is bool) return getBooleanString((bool)node);
if (node is bool) return ((bool)node)? "true" : "false";
else return node.ToString();
}
}