提交 499cdfd7 作者: Kevin Atkinson

Fix weird trailing message in default os check.

License: MIT
Signed-off-by: 's avatarKevin Atkinson <k@kevina.org>
上级 3faf8974
...@@ -593,10 +593,9 @@ func profileIfEnabled() (func(), error) { ...@@ -593,10 +593,9 @@ func profileIfEnabled() (func(), error) {
var apiFileErrorFmt string = `Failed to parse '%[1]s/api' file. var apiFileErrorFmt string = `Failed to parse '%[1]s/api' file.
error: %[2]s error: %[2]s
If you're sure go-ipfs isn't running, you can just delete it. If you're sure go-ipfs isn't running, you can just delete it.
Otherwise check:
` `
var checkIPFSUnixFmt = "\tps aux | grep ipfs" var checkIPFSUnixFmt = "Otherwise check:\n\tps aux | grep ipfs"
var checkIPFSWinFmt = "\ttasklist | findstr ipfs" var checkIPFSWinFmt = "Otherwise check:\n\ttasklist | findstr ipfs"
// getApiClient checks the repo, and the given options, checking for // getApiClient checks the repo, and the given options, checking for
// a running API service. if there is one, it returns a client. // a running API service. if there is one, it returns a client.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论