Skip to content

Commit

Permalink
Merge pull request #30 from ruby/feature-16495
Browse files Browse the repository at this point in the history
[Feature #16495] Do not include a backtick in error messages and backtraces
  • Loading branch information
hsbt authored Feb 16, 2024
2 parents 8bbd87c + 020d92f commit dba1f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tmpdir.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def create(basename, tmpdir=nil, max_try: nil, **opts)
n ||= 0
n += 1
retry if !max_try or n < max_try
raise "cannot generate temporary name using `#{basename}' under `#{tmpdir}'"
raise "cannot generate temporary name using '#{basename}' under '#{tmpdir}'"
end
path
end
Expand Down

0 comments on commit dba1f98

Please # to comment.