From 020d92feae75ab6edbb44ead6aff56cae652ffb0 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Fri, 19 Jan 2024 16:03:38 +0900 Subject: [PATCH] Do not include a backtick in error messages and backtraces [Feature #16495] --- lib/tmpdir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index db5ed97..70bd010 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -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