mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
additional escape
This commit is contained in:
parent
e777adf04d
commit
306dfb34a1
@ -154,7 +154,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
|
||||
if quieter {
|
||||
_, err = fmt.Fprintln(w, cmdenv.EscNonPrint(ie.Name))
|
||||
} else {
|
||||
_, err = fmt.Fprintf(w, "Published to %s: %s\n", cmdenv.EscNonPrint(ie.Name), ie.Value)
|
||||
_, err = fmt.Fprintf(w, "Published to %s: %s\n", cmdenv.EscNonPrint(ie.Name), cmdenv.EscNonPrint(ie.Value))
|
||||
}
|
||||
return err
|
||||
}),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user