chore: remove duplicate error and fix typo error message (#7763)

pull/7764/head
idnandre 2024-06-29 10:03:32 +07:00 committed by GitHub
parent f4a78e5cfb
commit 6cb018df2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -83,9 +83,7 @@ func runImportLocale(c *cli.Context) error {
tw, err := os.Create(target)
if err != nil {
if err != nil {
return fmt.Errorf("Open: %v", err)
}
return fmt.Errorf("Create: %v", err)
}
scanner := bufio.NewScanner(sr)