summaryrefslogtreecommitdiff
path: root/lib/rubygems/package.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-07 09:15:17 +0900
committergit <[email protected]>2023-04-07 05:13:05 +0000
commit250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 ()
treeb9018bb2916c2e007b7f57981295e4c4f0fd5adc /lib/rubygems/package.rb
parent84ce6fc87347c15cc81939de2d1872984711a4ed (diff)
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
https://.com/rubygems/rubygems/commit/132a56569d
-rw-r--r--lib/rubygems/package.rb6
1 files changed, 2 insertions, 4 deletions
@@ -70,15 +70,13 @@ class Gem::Package
class PathError < Error
def initialize(destination, destination_dir)
- super "installing into parent path %s of %s is not allowed" %
- [destination, destination_dir]
end
end
class SymlinkError < Error
def initialize(name, destination, destination_dir)
- super "installing symlink '%s' pointing to parent path %s of %s is not allowed" %
- [name, destination, destination_dir]
end
end