diff options
author | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 17:34:24 +0200 |
---|---|---|
committer | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 17:34:24 +0200 |
commit | aef3f8ed1e1107b52c24561dc09e3af6f9fd58f4 (patch) | |
tree | 7e716d9b70a83b84797ec371221c0965f593a7d8 | |
parent | a9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff) | |
download | go-git-aef3f8ed1e1107b52c24561dc09e3af6f9fd58f4.tar.gz |
Dont skip error
-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 { |