using %q
Juan Batiz-Benet committed
Jul 21, 2014 at 00:09 UTC
b5b2e8ae7722f22f05294ea377e88433e3d52627
1 file changed
+1
-1
path/path.go
+1
-1
@@ -64,7 +64,7 @@ func (s *Resolver) ResolveLinks(ndd *merkledag.Node, names []string) (
64
if next == "" {
65
h1, _ := nd.Multihash()
66
h2 := h1.B58String()
67
- return nil, fmt.Errorf("no link named \"%s\" under %s", name, h2)
67
+ return nil, fmt.Errorf("no link named %q under %s", name, h2)
68
}
69
70
// fetch object for link and assign to nd