Haarg is a dirty bitch who says i should use warn instead of print
This commit is contained in:
parent
7043f5d711
commit
dda9a68353
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ sub migrateAssetsToNewConfigFormat {
|
||||||
# the list has already been updated by a previous run
|
# the list has already been updated by a previous run
|
||||||
my $assetList = $config->get("assets");
|
my $assetList = $config->get("assets");
|
||||||
unless (ref $assetList eq "ARRAY") {
|
unless (ref $assetList eq "ARRAY") {
|
||||||
print "ERROR: Looks like you've already run this upgrade.\n";
|
warn "ERROR: Looks like you've already run this upgrade.\n";
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue