Skip to content

Commit

Permalink
Don't use methods that don't exist :)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoe committed Jan 25, 2025
1 parent aa32059 commit 63f73fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/SReview/Files/Collection/SFTP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ sub _probe_children {
}

sub has_file {
my $self = shift;
return defined($self->sftpobject->stat($self->onhost_pathname));
my ($self, $target) = @_;
return defined($self->sftpobject->stat(join('/', $self->basepath, $target)));
}

sub _create {
Expand Down

0 comments on commit 63f73fd

Please sign in to comment.