diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-07-10 06:14:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 06:14:49 +0200 |
commit | 13095f770a0ea9be1c103389269fad1d82c55468 (patch) | |
tree | 7e716d9b70a83b84797ec371221c0965f593a7d8 /utils | |
parent | a9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff) | |
parent | aef3f8ed1e1107b52c24561dc09e3af6f9fd58f4 (diff) | |
download | go-git-13095f770a0ea9be1c103389269fad1d82c55468.tar.gz |
Merge pull request #127 from cristaloleg/dont-skip-error
Dont skip error
Diffstat (limited to 'utils')
-rw-r--r-- | utils/merkletrie/filesystem/node.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/merkletrie/filesystem/node.go b/utils/merkletrie/filesystem/node.go index 165bd42..2fc3d7a 100644 --- a/utils/merkletrie/filesystem/node.go +++ b/utils/merkletrie/filesystem/node.go @@ -91,8 +91,7 @@ func (n *node) calculateChildren() error { if os.IsNotExist(err) { return nil } - - return nil + return err } for _, file := range files { |