mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
redundency-be-gone
License: MIT Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
This commit is contained in:
parent
7e88f83f74
commit
e61e685833
@ -207,11 +207,7 @@ func (adder *Adder) Finalize() (*dag.Node, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
rootNode, err = root.GetNode()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return rootNode, nil
|
||||
return root.GetNode()
|
||||
}
|
||||
|
||||
func (adder *Adder) outputDirs(path string, fs mfs.FSNode) error {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user