diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | modules/TemplateParser.pm | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Mon Jul 1 18:35:43 UTC 2019 Chad Elliott <elliottc@objectcomputing.com> + + * modules/TemplateParser.pm: + + Check the result of file_sorter() since it does not return + true/false, it returns -1,0,1. + Fri Jun 28 15:52:37 UTC 2019 Chad Elliott <elliottc@objectcomputing.com> * modules/TemplateParser.pm: diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm index 33516751..0544f5d7 100644 --- a/modules/TemplateParser.pm +++ b/modules/TemplateParser.pm @@ -2053,7 +2053,7 @@ sub doif_is_custom_input { ## exist (which isn't guaranteed at project generation time). So, ## we do the minimal comparison using the file_sorter on the ## ProjectCreator to handle case sensitivity automatically. - return 1 if ($self->{'prjc'}->file_sorter($input, $val)); + return 1 if ($self->{'prjc'}->file_sorter($input, $val) == 0); } } |