sync: Handle remote challenge files
This commit is contained in:
parent
ec3f818c30
commit
1d4b79bf90
5 changed files with 126 additions and 30 deletions
|
|
@ -62,7 +62,7 @@ func (i LocalImporter) GetLocalPath(p ...string) string {
|
|||
|
||||
func (i LocalImporter) importFile(URI string, next func(string, string) (interface{}, error)) (interface{}, error) {
|
||||
if i.Symlink {
|
||||
dest := getDestinationFilePath(URI)
|
||||
dest := getDestinationFilePath(URI, nil)
|
||||
|
||||
if err := os.MkdirAll(path.Dir(dest), 0751); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Reference in a new issue