Skip to content

Commit

Permalink
scripts: fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Apr 3, 2023
1 parent 3566193 commit 16caba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/translations/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ func changedLocales() (adds, dels []string, err error) {

fields := strings.Fields(line)
if len(fields) < 3 {
return nil, nil, err
return nil, nil, fmt.Errorf("invalid input: %q", line)
}

path := fields[2]
Expand Down

0 comments on commit 16caba7

Please sign in to comment.