Skip to content

Commit

Permalink
super, when other was absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokaro committed May 28, 2024
1 parent 2bcd8cd commit 3d2aa6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ocran
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ module Ocran
def /(other)
other = Pathname === other ? other : Pathname.new(other)
if other.absolute?
other
else
super
else
Pathname.new(plus(@path, other.to_s))
end
end

Expand Down

0 comments on commit 3d2aa6b

Please sign in to comment.