diff --git a/internal/cloud/s3.go b/internal/cloud/s3.go index 3c3baeba..3ca2a46f 100644 --- a/internal/cloud/s3.go +++ b/internal/cloud/s3.go @@ -5,7 +5,6 @@ import ( "errors" "fmt" "io" - "io/fs" "log" "os" "path/filepath" @@ -32,7 +31,7 @@ type AWSSession struct { func Exists(path string) bool { _, err := os.Stat(path) if err != nil { - return !errors.Is(err, fs.ErrNotExist) + return !errors.Is(err, os.ErrNotExist) } return true }