diff --git a/aws.go b/aws.go index f2c27b6..9837f96 100644 --- a/aws.go +++ b/aws.go @@ -94,13 +94,10 @@ func (a *AWS) Upload(local, remote string) error { contentType = mime.TypeByExtension(fileExt) } - head, err := a.client.HeadObject(&s3.HeadObjectInput{ + head, _ := a.client.HeadObject(&s3.HeadObjectInput{ Bucket: aws.String(a.vargs.Bucket), Key: aws.String(remote), }) - if err != nil { - return err - } if head != nil { hash := md5.New()