Skip to content

Commit

Permalink
fix skipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol committed Nov 11, 2024
1 parent ba9e995 commit c0f2265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/agent/sftp/filelister.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (h *SftpHandler) FileLister(dirPath string) (*FileLister, error) {
}

fullPath := filepath.Join(dirPath, entry.Name())
if skipFile(fullPath, info, false) {
if skipFile(fullPath, info) {
continue
}
fileInfos = append(fileInfos, info)
Expand Down

0 comments on commit c0f2265

Please sign in to comment.