Skip to content

Commit 2f39fc7

Browse files
Cherrgtechknowlogick
authored andcommitted
fix drone build bug (#7192)
1 parent 8f0182c commit 2f39fc7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ pr:
469469
.PHONY: golangci-lint
470470
golangci-lint:
471471
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
472+
export BINARY="golangci-lint"; \
472473
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
473474
fi
474475
golangci-lint run

public/less/_repository.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,7 @@
11121112
.show-form-container {
11131113
text-align: left;
11141114
}
1115+
11151116
.choose.branch {
11161117
.octicon {
11171118
padding-right: 10px;
@@ -2226,6 +2227,7 @@ tbody.commit-list {
22262227
&.top {
22272228
text-align: left;
22282229
}
2230+
22292231
.commit-body {
22302232
margin: 0;
22312233
}

routers/user/oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func AuthorizeOAuth(ctx *context.Context, form auth.AuthorizationForm) {
169169
for _, e := range errs {
170170
errstring += e.Error() + "\n"
171171
}
172-
ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occured during validation: %s", errstring))
172+
ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occurred during validation: %s", errstring))
173173
return
174174
}
175175

0 commit comments

Comments
 (0)