We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7eb088 commit a0b8a3cCopy full SHA for a0b8a3c
cmd/main.go
@@ -165,11 +165,7 @@ func NewMainApp(appVer AppVersion) *cli.App {
165
app.Commands = append(app.Commands, subCmdWithConfig...)
166
app.Commands = append(app.Commands, subCmdStandalone...)
167
168
- err := os.Unsetenv("XDG_CONFIG_HOME") // unset if set as HOME is managed by gitea
169
- if err != nil {
170
- fmt.Printf("error unsetting XDG_CONFIG_HOME")
171
- }
172
-
+ _ = os.Unsetenv("XDG_CONFIG_HOME") // unset if set as HOME is managed by gitea
173
return app
174
}
175
0 commit comments