提交 c6ce6d3b 作者: Kevin Atkinson

"ipfs key gen": include newline when printing generated key

License: MIT
Signed-off-by: 's avatarKevin Atkinson <k@kevina.org>
上级 4cb236ca
...@@ -125,7 +125,7 @@ var KeyGenCmd = &cmds.Command{ ...@@ -125,7 +125,7 @@ var KeyGenCmd = &cmds.Command{
return nil, fmt.Errorf("expected a KeyOutput as command result") 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{}, Type: KeyOutput{},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论