Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee committed Feb 1, 2024
1 parent f361dfd commit fc7e6b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/ftp/ftp.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ func DownloadFile(ac *client.AlpaconClient, src string, dest string) error {
}

err = utils.SaveFile(filepath.Join(dest, filepath.Base(remotePath)), data)
if err != nil {
return err
}

return nil
}
Expand Down

0 comments on commit fc7e6b0

Please sign in to comment.