Tentative fox for abspath
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s
This commit is contained in:
parent
a3a692b5f2
commit
eb370a6cb3
7
main.go
7
main.go
@ -120,7 +120,12 @@ func main() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
w, err = mwriter.CreateIpfsFilePart(innerPath, innerPath)
|
absPath, err := filepath.Rel(path, innerPath)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
w, err = mwriter.CreateIpfsFilePart(absPath, innerPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user