typo
Closes Homebrew/homebrew#21385. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
6090b9b2bf
commit
9942bcc21e
@ -365,7 +365,7 @@ class Pathname
|
|||||||
def write_exec_script *targets
|
def write_exec_script *targets
|
||||||
targets.flatten!
|
targets.flatten!
|
||||||
if targets.empty?
|
if targets.empty?
|
||||||
opoo "tried to write exec sripts to #{self} for an empty list of targets"
|
opoo "tried to write exec scripts to #{self} for an empty list of targets"
|
||||||
end
|
end
|
||||||
targets.each do |target|
|
targets.each do |target|
|
||||||
target = Pathname.new(target) # allow pathnames or strings
|
target = Pathname.new(target) # allow pathnames or strings
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user