Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
fix(warning): deprecated keyword_separation
Browse files Browse the repository at this point in the history
  • Loading branch information
iberianpig committed Aug 12, 2021
1 parent ca868e5 commit d2a7c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mediakit/drivers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PopenDriver < Base
# @return [String] stdout output
def run(*args)
options, rest_args = parse_options(args.dup)
runner = Mediakit::Process::Runner.new(options)
runner = Mediakit::Process::Runner.new(**options)
begin
exit_status, stdout, stderr = runner.run(bin, *rest_args)
raise(FailError, stdout + stderr) unless exit_status
Expand All @@ -52,7 +52,7 @@ def run(*args)
# @return [String] command
def command(*args)
options, rest_args = parse_options(args.dup)
runner = Mediakit::Process::Runner.new(options)
runner = Mediakit::Process::Runner.new(**options)
runner.build_command(bin, *rest_args)
end

Expand Down

0 comments on commit d2a7c79

Please sign in to comment.