Skip to content

Commit

Permalink
Fixed builder interface script generation
Browse files Browse the repository at this point in the history
  • Loading branch information
KhromovNikita committed Jul 19, 2024
1 parent 21c8c69 commit 113e2e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/sdkjs_common/generate_builder_intarface.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def check_record(self, recordData):
line = line.replace("}", "")
lineWithoutSpaces = line.replace(" ", "")
if not is_found_function and 0 == line.find("function "):
if -1 == decoration.find("@constructor"):
return
codeCorrect += (line + addon_for_func + "\n")
is_found_function = True
if not is_found_function and -1 != line.find(".prototype."):
Expand Down

0 comments on commit 113e2e7

Please sign in to comment.