Skip to content

Commit 0f7a5f9

Browse files
committed
format file
1 parent a1f537a commit 0f7a5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/internal/migrations/v3/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ func MigrateBasicauthConfig(cmd *cobra.Command, cwd string, _, _ *semver.Version
729729
reCtxUser := regexp.MustCompile(`\s*ContextUsername:\s*[^,]+,?\n`)
730730
reCtxPass := regexp.MustCompile(`\s*ContextPassword:\s*[^,]+,?\n`)
731731
reUsers := regexp.MustCompile(`Users:\s*map\[string\]string{([^}]*)}`)
732-
reEntry := regexp.MustCompile(`("[^"]+")\s*:\s*"((?:[^"\\]|\\.)*)"`)
732+
reEntry := regexp.MustCompile(`("[^"]+")\s*:\s*"((?:[^"\\]|\\.)*)"`)
733733

734734
err := internal.ChangeFileContent(cwd, func(content string) string {
735735
content = reCtxUser.ReplaceAllString(content, "")

0 commit comments

Comments
 (0)