Avoid use of map in void context
This commit is contained in:
parent
1873e4b4ef
commit
a7262a98bc
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ sub main {
|
||||||
if (scalar @conflicts) {
|
if (scalar @conflicts) {
|
||||||
warn "WARNING: conflicts detected.\n";
|
warn "WARNING: conflicts detected.\n";
|
||||||
if ($options->{'conflicts'}) {
|
if ($options->{'conflicts'}) {
|
||||||
map { warn $_ } @conflicts;
|
warn $_ foreach @conflicts;
|
||||||
}
|
}
|
||||||
warn "WARNING: all operations aborted.\n";
|
warn "WARNING: all operations aborted.\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue