Skip to content

Commit 9c13ab7

Browse files
committed
Clear out the previous custom_multi_details hash map so that we don't have extraneous data associated with commands.
1 parent 789a5ac commit 9c13ab7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/ProjectCreator.pm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4674,6 +4674,11 @@ sub get_custom_value {
46744674
}
46754675
elsif ($cmd eq 'commands') { # only used with 'combined_custom'
46764676
$value = [];
4677+
4678+
## Clear out the previous custom_multi_details hash map so that we don't
4679+
## have extraneous data associated with commands from previous iterations.
4680+
$self->{'custom_multi_details'} = {};
4681+
46774682
my %details = ('flags' => 'commandflags',
46784683
'outopt' => 'output_option',
46794684
'gdir' => 'gendir');

0 commit comments

Comments
 (0)