Skip to content

Commit

Permalink
nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
Brat-vseznamus committed Feb 19, 2025
1 parent b824556 commit 7ad61b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tlgen/main2.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func runCompatibilityCheck(opt *tlcodegen.Gen2Options, ast *tlast.TL) error {

log.Print("STEP: Compare old tl schema with passed...")

if compErr := tlcodegen.CheckBackwardCompatibility(ast, &oldTL); compErr.Err != nil {
if compErr := tlcodegen.CheckBackwardCompatibility(ast, &oldTL); compErr != nil {
return compErr
}
log.Print("RESULT: New version is backward compatible with passed schema")
Expand Down

0 comments on commit 7ad61b2

Please sign in to comment.