Compare commits

..

No commits in common. "eb370a6cb3f9211c46ef05e2acac9025fea3ed6f" and "81a0a9f9e8a4dfd5f29aaac764ef912c92fd4e1f" have entirely different histories.

10
main.go
View File

@ -120,12 +120,8 @@ func main() {
return nil
}
absPath, err := filepath.Rel(path, innerPath)
if err != nil {
return err
}
w, err = mwriter.CreateIpfsFilePart(absPath, innerPath)
githubactions.Infof("Reading %v", innerPath)
w, err = mwriter.CreateIpfsFilePart(innerPath, innerPath)
if err != nil {
return err
}
@ -139,6 +135,8 @@ func main() {
written, err := io.Copy(w, fileReader)
if err != nil {
return fmt.Errorf("error copying %s (%d bytes written): %v", innerPath, written, err)
} else {
githubactions.Infof("Read %v bytes from %s", written, innerPath)
}
return nil