You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-07-12 22:21:40 +02:00
Add linter revive (#554)
* Add linter revive * Add underscore to variable name to prevent shadowing * Remove unnecessary leading underscore * Revert changes to vendor file * export ConfigFetcher as interface * no 'yoda conditions' * rename envsubst Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@ -83,8 +83,8 @@ func Test_hook(t *testing.T) {
|
||||
g.It("Should convert repository", func() {
|
||||
repository := &Repository{
|
||||
Name: "test_project",
|
||||
HttpsURL: "https://git.coding.net/kelvin/test_project.git",
|
||||
SshURL: "git@git.coding.net:kelvin/test_project.git",
|
||||
HTTPSURL: "https://git.coding.net/kelvin/test_project.git",
|
||||
SSHURL: "git@git.coding.net:kelvin/test_project.git",
|
||||
WebURL: "https://coding.net/u/kelvin/p/test_project",
|
||||
Owner: &User{
|
||||
GlobalKey: "kelvin",
|
||||
|
Reference in New Issue
Block a user