Commit dc979581 authored by Steven Allen's avatar Steven Allen

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: default avatarSteven Allen <steven@stebalien.com>
parent edab11e8
...@@ -3,6 +3,6 @@ package iface ...@@ -3,6 +3,6 @@ package iface
import "errors" import "errors"
var ( var (
ErrIsDir = errors.New("object is a directory") ErrIsDir = errors.New("this dag node is a directory")
ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first") ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment