From 32a3f8dc593663e6ec2ec69938942658c3f6f828 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 16 Jul 2021 16:38:15 +0100 Subject: [PATCH] Add a comment regarding toml manipulation Signed-off-by: Ian Jackson --- nailing-cargo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nailing-cargo b/nailing-cargo index 6f9b94a..e04c6a5 100755 --- a/nailing-cargo +++ b/nailing-cargo @@ -546,7 +546,7 @@ sub calculate () { my $info = $deps->{$p}; next unless defined $info; next if $packagemap{$p}[1] eq $mf_org_subdir; - $deps->{$p} = $info = { } unless ref $info; + $deps->{$p} = $info = { } unless ref $info; # was just version my $oldpath = $info->{path}; delete $info->{version}; my $newpath = $worksphere.'/'.$packagemap{$p}[0]; -- 2.30.2