Don't assign fail twice

This commit is contained in:
Paul Pacheco 2018-10-14 08:28:41 -05:00
parent 162668cce4
commit 0bebc8ce05

View File

@ -1583,7 +1583,6 @@ static public bool IsValidTypeToGenerate(TypeDefinition variable)
variable.FullName +
"] is not a valid type, please make sure to use a valid type.");
Weaver.fail = true;
fail = true;
return false;
}
return true;