mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-09 10:18:04 +08:00
Restore dropped error condition check
This commit is contained in:
parent
155435cb35
commit
c2e6a22bba
@ -362,6 +362,9 @@ GC'ed.
|
||||
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
|
||||
mkParents, _ := req.Options[filesParentsOptionName].(bool)
|
||||
nd, err := cmdenv.GetNode(env)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
prefix, err := getPrefixNew(req)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user