summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorGusted <postmaster@gusted.xyz>2024-04-12 13:36:31 +0200
committerGusted <postmaster@gusted.xyz>2024-04-12 13:36:31 +0200
commit706846b62847228824b62ecdedc76637eaf995cf (patch)
tree982776099b57d9d569127f51ee1958eaafd4a3e4 /build
parentMerge pull request 'Update dependency @playwright/test to v1.43.0' (#3152) fr... (diff)
downloadforgejo-706846b62847228824b62ecdedc76637eaf995cf.tar.xz
forgejo-706846b62847228824b62ecdedc76637eaf995cf.zip
[CHORE] Remove `println`
- It's not recommended to use it per the documentation: https://pkg.go.dev/builtin#println.
Diffstat (limited to 'build')
-rw-r--r--build/backport-locales.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/backport-locales.go b/build/backport-locales.go
index d112dd72bd..3df83ea6d9 100644
--- a/build/backport-locales.go
+++ b/build/backport-locales.go
@@ -18,8 +18,8 @@ import (
func main() {
if len(os.Args) != 2 {
- println("usage: backport-locales <to-ref>")
- println("eg: backport-locales release/v1.19")
+ fmt.Println("usage: backport-locales <to-ref>")
+ fmt.Println("eg: backport-locales release/v1.19")
os.Exit(1)
}