Skip to content

Commit

Permalink
Fix: InvalidCastException when using a verb other than convert
Browse files Browse the repository at this point in the history
  • Loading branch information
skairunner committed Sep 21, 2020
1 parent 58adf0e commit 87c0244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kanimal-cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static void Convert(string inputFormat, string outputFormat, List<string
var png = "";
var build = "";
var anim = "";
if (((GenericOptions) opt).Ordered)
if (opt is GenericOptions && ((GenericOptions)opt).Ordered)
{
png = files[0];
build = files[1];
Expand Down

0 comments on commit 87c0244

Please sign in to comment.