Skip to content

Commit 1ecd2e0

Browse files
Automated pre-commit update
1 parent 77ccdad commit 1ecd2e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fix-tscodeblock-attribute.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ index 0000000..0000000 100644
1414
+ @noapidoc
1515
+ def end_byte_for_condition_block(self) -> int:
1616
+ """Returns the end byte for the specific condition block"""
17-
+ return self.end_byte
17+
+ return self.end_byte

src/codegen/sdk/typescript/detached_symbols/code_block.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ def unwrap(self) -> None:
7878
else:
7979
# If there is no next sibling, remove up to the closing brace of the last line
8080
self.remove_byte_range(self._get_line_ends()[-1].end_byte, self.ts_node.end_byte)
81-
81+
8282
@property
8383
@noapidoc
8484
def end_byte_for_condition_block(self) -> int:
8585
"""Returns the end byte for the specific condition block"""
86-
return self.end_byte
86+
return self.end_byte

0 commit comments

Comments
 (0)