Merge pull request #12201 from FnControlOption/patch-10

mktemp: delete invalid default prefix argument
This commit is contained in:
Mike McQuaid 2021-10-07 11:20:39 +01:00 committed by GitHub
commit 3ca46c7cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ class Mktemp
# Path to the tmpdir used in this run, as a {Pathname}.
attr_reader :tmpdir
def initialize(prefix = name, opts = {})
def initialize(prefix, opts = {})
@prefix = prefix
@retain = opts[:retain]
@quiet = false