@cryptotaxi247 / kubo / commits / c0ee7d68f

misc: small code style edit

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Jul 16, 2017 at 10:26 UTC c0ee7d68fd76c0691b2086e5727be832d802f8f3
2 files changed +3 -5
plugin/loader/initializer.go
+2 -4
@@ -34,12 +34,10 @@ func runIPLDPlugin(pl plugin.Plugin) error {
34 return nil
35 }
36
37 - var err error
38 - err = ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
37 + err := ipldpl.RegisterBlockDecoders(format.DefaultBlockDecoder)
38 if err != nil {
39 return err
40 }
41
43 - err = ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
44 - return err
42 + return ipldpl.RegisterInputEncParsers(coredag.DefaultInputEncParsers)
43 }
test/sharness/t0280-plugin-git.sh
+1 -1
@@ -1,6 +1,6 @@
1 #!/bin/sh
2 #
3 -# Copyright (c) 2016 Jakub Sztandera
3 +# Copyright (c) 2017 Jakub Sztandera
4 # MIT Licensed; see the LICENSE file in this repository.
5 #
6