Skip to content

Commit

Permalink
Make call to mkdir_p compatible with Ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Nov 4, 2021
1 parent c831931 commit b470400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/metric_fu/utility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def rm_rf(*args)
FileUtils.rm_rf(*args)
end

def mkdir_p(*args)
FileUtils.mkdir_p(*args)
def mkdir_p(dir, **args)
FileUtils.mkdir_p(dir, **args)
end

def glob(*args)
Expand Down

0 comments on commit b470400

Please sign in to comment.