mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 05:09:46 +00: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:
@@ -170,7 +170,6 @@ func splitVolumeParts(volumeParts string) ([]string, error) {
|
||||
}
|
||||
}
|
||||
return cleanResults, nil
|
||||
} else {
|
||||
return strings.Split(volumeParts, ":"), nil
|
||||
}
|
||||
return strings.Split(volumeParts, ":"), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user