@cryptotaxi247 / kubo / commits / 013de54d9

commands/filestore: fix gofmt

License: MIT Signed-off-by: Overbool <overbool.xu@gmail.com>

Overbool committed Oct 27, 2018 at 12:53 UTC 013de54d9837e245bcc67ee8598fbcbd86cc1183
1 file changed +8 -8
core/commands/filestore.go
+8 -8
@@ -126,15 +126,15 @@ For ERROR entries the error will also be printed to stderr.
126 return filestore.Verify(fs, c)
127 })
128 return res.Emit(out)
129 - } else {
130 - fileOrder, _ := req.Options[fileOrderOptionName].(bool)
131 - next, err := filestore.VerifyAll(fs, fileOrder)
132 - if err != nil {
133 - return err
134 - }
135 - out := listResToChan(req.Context, next)
136 - return res.Emit(out)
129 }
130 +
131 + fileOrder, _ := req.Options[fileOrderOptionName].(bool)
132 + next, err := filestore.VerifyAll(fs, fileOrder)
133 + if err != nil {
134 + return err
135 + }
136 + out := listResToChan(req.Context, next)
137 + return res.Emit(out)
138 },
139 Encoders: cmds.EncoderMap{
140 cmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, out *filestore.ListRes) error {