Haarg is a dirty bitch who says i should use warn instead of print

This commit is contained in:
JT Smith 2008-09-30 16:32:48 +00:00
parent 7043f5d711
commit dda9a68353

View file

@ -87,7 +87,7 @@ sub migrateAssetsToNewConfigFormat {
# the list has already been updated by a previous run
my $assetList = $config->get("assets");
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;
}