summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-02-03 01:11:39 +0100
committerGitHub <noreply@github.com>2024-02-03 01:11:39 +0100
commita6cea595146d0de42aa83c9cca929b015aae4552 (patch)
tree72b7b7e808531567ec08ba074f178818a0027c7d /modules
parentAdd artifacts v4 jwt to job message and accept it (#28885) (diff)
downloadforgejo-a6cea595146d0de42aa83c9cca929b015aae4552.tar.xz
forgejo-a6cea595146d0de42aa83c9cca929b015aae4552.zip
Update tool dependencies (#29030)
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
}