This commit is contained in:
guoguangwu 2025-05-05 18:54:45 +00:00 committed by GitHub
commit 3d786f3cb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,6 +83,10 @@ func generateAtDir(cheatsheetDir string) {
content = fmt.Sprintf("_This file is auto-generated. To update, make the changes in the "+
"pkg/i18n directory and then run `%s` from the project root._\n\n%s", CommandToRun(), content)
writeString(file, content)
err = file.Close()
if err != nil {
log.Fatal(err)
}
}
}