mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 01:42:47 +01:00
fix drone build bug (#7192)
This commit is contained in:
parent
8f0182c322
commit
2f39fc7bb6
3 changed files with 4 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -469,6 +469,7 @@ pr:
|
||||||
.PHONY: golangci-lint
|
.PHONY: golangci-lint
|
||||||
golangci-lint:
|
golangci-lint:
|
||||||
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
|
export BINARY="golangci-lint"; \
|
||||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
|
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
|
||||||
fi
|
fi
|
||||||
golangci-lint run
|
golangci-lint run
|
||||||
|
|
|
@ -1112,6 +1112,7 @@
|
||||||
.show-form-container {
|
.show-form-container {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.choose.branch {
|
.choose.branch {
|
||||||
.octicon {
|
.octicon {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
@ -2226,6 +2227,7 @@ tbody.commit-list {
|
||||||
&.top {
|
&.top {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.commit-body {
|
.commit-body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -169,7 +169,7 @@ func AuthorizeOAuth(ctx *context.Context, form auth.AuthorizationForm) {
|
||||||
for _, e := range errs {
|
for _, e := range errs {
|
||||||
errstring += e.Error() + "\n"
|
errstring += e.Error() + "\n"
|
||||||
}
|
}
|
||||||
ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occured during validation: %s", errstring))
|
ctx.ServerError("AuthorizeOAuth: Validate: ", fmt.Errorf("errors occurred during validation: %s", errstring))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue