Keg#unlink: prune directory for dry_run as well
This commit is contained in:
parent
eff3d21350
commit
9581ab64e3
@ -203,6 +203,7 @@ class Keg
|
|||||||
if dst.symlink? && src == dst.resolved_path
|
if dst.symlink? && src == dst.resolved_path
|
||||||
if mode.dry_run
|
if mode.dry_run
|
||||||
puts dst
|
puts dst
|
||||||
|
Find.prune if src.directory?
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user