summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/lfs/http_client.go1
-rw-r--r--modules/markup/markdown/goldmark.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/modules/lfs/http_client.go b/modules/lfs/http_client.go
index de0b1e4fed..e06879baea 100644
--- a/modules/lfs/http_client.go
+++ b/modules/lfs/http_client.go
@@ -168,7 +168,6 @@ func (c *HTTPClient) performOperation(ctx context.Context, objects []Pointer, dc
}
err = transferAdapter.Upload(ctx, link, object.Pointer, content)
-
if err != nil {
return err
}
diff --git a/modules/markup/markdown/goldmark.go b/modules/markup/markdown/goldmark.go
index 3dc5530e00..178e3d2fdd 100644
--- a/modules/markup/markdown/goldmark.go
+++ b/modules/markup/markdown/goldmark.go
@@ -440,7 +440,6 @@ func (r *HTMLRenderer) renderIcon(w util.BufWriter, source []byte, node ast.Node
var err error
_, err = w.WriteString(fmt.Sprintf(`<i class="icon %s"></i>`, name))
-
if err != nil {
return ast.WalkStop, err
}