mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 08:47:52 +08:00
cmds2/add: return correct error
This commit is contained in:
parent
94e8218be8
commit
e32ed36ee9
@ -44,7 +44,7 @@ remains to be implemented.
|
||||
|
||||
dagnodes, err := add(n, readers)
|
||||
if err != nil {
|
||||
return nil, errors.New("cast error")
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// TODO: include fs paths in output (will need a way to specify paths in underlying filearg system)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user