feat: perltidy
This commit is contained in:
parent
c3134f71cf
commit
e535987d5b
@ -2,6 +2,7 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
package Kernel::Config {
|
||||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
my %params = @_;
|
||||
@ -74,7 +75,7 @@ package Kernel::Config {
|
||||
my $hash_config = $params{hash_config};
|
||||
my $remote_hash_config = $params{remote_hash_config};
|
||||
if ( defined $hash_config->{$key} && $hash_config->{$key} !~ /^\s*$/ ) {
|
||||
return ( $key => $hash_config->{$key} )
|
||||
return ( $key => $hash_config->{$key} );
|
||||
} else {
|
||||
return ( $key => ( $remote_hash_config->{$key} // "" ) );
|
||||
}
|
||||
@ -88,4 +89,5 @@ package Kernel::Config {
|
||||
return $plain_config;
|
||||
}
|
||||
}
|
||||
print Kernel::Config->new( file => $ARGV[0] )->merge( kernel_config => Kernel::Config->new( file => $ARGV[1] ))->plainConfig;
|
||||
print Kernel::Config->new( file => $ARGV[0] )->merge( kernel_config => Kernel::Config->new( file => $ARGV[1] ) )
|
||||
->plainConfig;
|
||||
|
Loading…
Reference in New Issue
Block a user