diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-10 07:31:56 -0600 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-10 07:31:56 -0600 |
commit | 9c13ab74f34fbfe808a4937a0ce7548f437e0dae (patch) | |
tree | c828f0d42f17b12d0de4a2ca86c387af6529f40e | |
parent | 789a5ac2a0fa499fbf0738744d82972ea6da2af9 (diff) | |
download | MPC-9c13ab74f34fbfe808a4937a0ce7548f437e0dae.tar.gz |
Clear out the previous custom_multi_details hash map so that we don't have extraneous data associated with commands.
-rw-r--r-- | modules/ProjectCreator.pm | 5 |
1 files changed, 5 insertions, 0 deletions
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'); |