marked_stow_dir: rename $path to $dir

It's always a directory, so make this explicit.
This commit is contained in:
Adam Spiers 2024-04-01 15:58:09 +01:00
parent caefb641b8
commit c0060443ee

View file

@ -678,9 +678,9 @@ sub should_skip_target {
# marked_stow_dir() won't work.
sub marked_stow_dir {
my $self = shift;
my ($path) = @_;
if (-e join_paths($path, ".stow")) {
debug(5, 5, "> $path contained .stow");
my ($dir) = @_;
if (-e join_paths($dir, ".stow")) {
debug(5, 5, "> $dir contained .stow");
return 1;
}
return 0;