mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 14:53:06 +00:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -263,7 +263,7 @@ func convertPathForWindows(path string) string {
|
||||
base := filepath.VolumeName(path)
|
||||
|
||||
// Check if path is volume name like C:
|
||||
//nolint: gomnd
|
||||
//nolint:mnd
|
||||
if len(base) == 2 {
|
||||
path = strings.TrimPrefix(path, base)
|
||||
base = strings.ToLower(strings.TrimSuffix(base, ":"))
|
||||
|
Reference in New Issue
Block a user