Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
c0ee7d68
Unverified
Commit
c0ee7d68
authored
Jul 16, 2017
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: small code style edit
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
3e8e0393
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
plugin/loader/initializer.go
plugin/loader/initializer.go
+2
-4
test/sharness/t0280-plugin-git.sh
test/sharness/t0280-plugin-git.sh
+1
-1
No files found.
plugin/loader/initializer.go
View file @
c0ee7d68
...
...
@@ -34,12 +34,10 @@ func runIPLDPlugin(pl plugin.Plugin) error {
return
nil
}
var
err
error
err
=
ipldpl
.
RegisterBlockDecoders
(
format
.
DefaultBlockDecoder
)
err
:=
ipldpl
.
RegisterBlockDecoders
(
format
.
DefaultBlockDecoder
)
if
err
!=
nil
{
return
err
}
err
=
ipldpl
.
RegisterInputEncParsers
(
coredag
.
DefaultInputEncParsers
)
return
err
return
ipldpl
.
RegisterInputEncParsers
(
coredag
.
DefaultInputEncParsers
)
}
test/sharness/t0280-plugin-git.sh
View file @
c0ee7d68
#!/bin/sh
#
# Copyright (c) 201
6
Jakub Sztandera
# Copyright (c) 201
7
Jakub Sztandera
# MIT Licensed; see the LICENSE file in this repository.
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment