this will pretty much always be nil

This commit is contained in:
whyrusleeping 2019-12-08 22:34:46 +01:00
parent c3dd9c55e2
commit 39cd25afc7

View File

@ -750,10 +750,6 @@ func copyFile(from, to string) error {
}
}
if st.IsDir() {
return xerrors.Errorf("copying directories not handled")
}
if st != nil {
log.Warn("destination file %q already exists! skipping copy...", to)
return nil