Combine duplicated postfix conditionals
This commit is contained in:
parent
f8183d9510
commit
2f542f657e
@ -133,9 +133,10 @@ class Keg < Pathname
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
linked_keg_record.make_relative_symlink(self) unless mode.dry_run
|
unless mode.dry_run
|
||||||
|
linked_keg_record.make_relative_symlink(self)
|
||||||
optlink unless mode.dry_run
|
optlink
|
||||||
|
end
|
||||||
|
|
||||||
return $n + $d
|
return $n + $d
|
||||||
rescue Exception
|
rescue Exception
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user