mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 08:47:52 +08:00
"ipfs key gen": include newline when printing generated key
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
This commit is contained in:
parent
4cb236caa4
commit
c6ce6d3b1d
@ -125,7 +125,7 @@ var KeyGenCmd = &cmds.Command{
|
||||
return nil, fmt.Errorf("expected a KeyOutput as command result")
|
||||
}
|
||||
|
||||
return strings.NewReader(k.Id), nil
|
||||
return strings.NewReader(k.Id + "\n"), nil
|
||||
},
|
||||
},
|
||||
Type: KeyOutput{},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user