From 9c13ab74f34fbfe808a4937a0ce7548f437e0dae Mon Sep 17 00:00:00 2001 From: Chad Elliott Date: Thu, 10 Nov 2022 07:31:56 -0600 Subject: [PATCH] Clear out the previous custom_multi_details hash map so that we don't have extraneous data associated with commands. --- modules/ProjectCreator.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm index ac5cd26c..5ebbbd0e 100644 --- a/modules/ProjectCreator.pm +++ b/modules/ProjectCreator.pm @@ -4674,6 +4674,11 @@ sub get_custom_value { } elsif ($cmd eq 'commands') { # only used with 'combined_custom' $value = []; + + ## Clear out the previous custom_multi_details hash map so that we don't + ## have extraneous data associated with commands from previous iterations. + $self->{'custom_multi_details'} = {}; + my %details = ('flags' => 'commandflags', 'outopt' => 'output_option', 'gdir' => 'gendir'); -- 2.11.4.GIT