mirror of
https://github.com/go-gitea/gitea
synced 2025-01-04 23:46:00 +01:00
Fix golangci lint while preserving output format
Signed-off-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com>
This commit is contained in:
parent
e61890e02e
commit
2901259a67
@ -4,7 +4,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
"code.gitea.io/gitea/modules/log"
|
||||||
@ -93,7 +92,7 @@ func runIniToShell(c *cli.Context) error {
|
|||||||
log.Fatal("Section '%s' does not have key '%s'", sName, kName)
|
log.Fatal("Section '%s' does not have key '%s'", sName, kName)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("%s", section.Key(kName).Value())
|
os.Stdout.Write([]byte(section.Key(kName).Value()))
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user