this will pretty much always be nil
This commit is contained in:
parent
c3dd9c55e2
commit
39cd25afc7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user