sync: Fix long running bug known as "why my fresh uploaded file is now empty again"
Thanks to Nicolas Ribeyrolle
This commit is contained in:
parent
0cbd6390ba
commit
8e618565ad
|
@ -47,9 +47,11 @@ func (i LocalImporter) importFile(URI string, next func(string, string) (interfa
|
|||
} else {
|
||||
os.Symlink(i.toURL(URI) + "_MERGED", dest)
|
||||
}
|
||||
}
|
||||
|
||||
return ImportFile(i, URI, next)
|
||||
return next(dest, URI)
|
||||
} else {
|
||||
return ImportFile(i, URI, next)
|
||||
}
|
||||
}
|
||||
|
||||
func (i LocalImporter) getFile(filename string, writer *bufio.Writer) error {
|
||||
|
|
Loading…
Reference in New Issue
Block a user