mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 14:30:26 +00:00
Fix some code appveyor is being picky with
This commit is contained in:
parent
978cb5b8c8
commit
f87487cad4
1 changed files with 4 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue