Fix code style for commands.

master
Markus Reiter 2020-08-31 02:21:20 +02:00 committed by Sean Molenaar
parent 1f581a16f1
commit 8123eba9a7
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require "cli/parser" require "cli/parser"
require "open-uri" require "open-uri"
require "resource" require "resource"

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require "cli/parser" require "cli/parser"
require "open-uri" require "open-uri"
require "resource" require "resource"
@ -124,12 +126,12 @@ module Homebrew
ohai "Migrating and upgrading data..." ohai "Migrating and upgrading data..."
(var/"log").cd do (var/"log").cd do
safe_system "#{bin}/pg_upgrade", safe_system "#{bin}/pg_upgrade",
"-r", "-r",
"-b", old_bin, "-b", old_bin,
"-B", bin, "-B", bin,
"-d", old_datadir, "-d", old_datadir,
"-D", datadir, "-D", datadir,
"-j", Hardware::CPU.cores.to_s "-j", Hardware::CPU.cores.to_s
end end
upgraded = true upgraded = true