diff --git a/lib/gems/pending/util/postgres_admin.rb b/lib/gems/pending/util/postgres_admin.rb index e3a35deb2..d1f1c4d04 100644 --- a/lib/gems/pending/util/postgres_admin.rb +++ b/lib/gems/pending/util/postgres_admin.rb @@ -249,7 +249,7 @@ def self.runcmd_with_logging(cmd_str, opts, params = {}) { "PGUSER" => opts[:username], "PGPASSWORD" => opts[:password] - } + }.delete_blanks end # rubocop:disable Style/SymbolArray PG_DUMP_MULTI_VALUE_ARGS = [