@cryptotaxi247 / kubo / commits / e37b252c0

coreapi: fix errisdir

JavaScript expects this to be "this dag node is a directory". I'm almost of a mind to say "don't parse errors" but, well, we don't give any better alternatives. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Oct 30, 2018 at 08:48 UTC e37b252c0c7459af31a54fc6e0be46f011a1d856
1 file changed +1 -1
core/coreapi/interface/errors.go
+1 -1
@@ -3,6 +3,6 @@ package iface
3 import "errors"
4
5 var (
6 - ErrIsDir = errors.New("object is a directory")
6 + ErrIsDir = errors.New("this dag node is a directory")
7 ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
8 )