Skip to content

Commit 761c0e8

Browse files
authored
add comment
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
1 parent c6d1837 commit 761c0e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/config_update_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ KeY = val
5454
})
5555

5656
t.Run("OutputToExisting(environment-to-ini)", func(t *testing.T) {
57+
// the legacy "environment-to-ini" (now a wrapper script) behavior: if no "--out", then overwrite the existing "--config" file
5758
err := NewMainApp(AppVersion{}).Run(t.Context(), []string{
5859
"./gitea", "config", "update-ini",
5960
"--apply-env",

0 commit comments

Comments
 (0)