Skip to content

Commit

Permalink
appease go lint
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Steven Allen <[email protected]>
  • Loading branch information
Stebalien committed Mar 24, 2018
1 parent 0dc9842 commit 71a0a5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions unixfs/archive/tar/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ func (w *Writer) writeDir(nd *mdag.ProtoNode, fpath string) error {
return err
}
npath := path.Join(fpath, l.Name)
if err := w.WriteNode(child, npath); err != nil {
return err
}
return nil
return w.WriteNode(child, npath)
})
}

Expand Down

0 comments on commit 71a0a5c

Please sign in to comment.