We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38dc093 commit a3fd4a4Copy full SHA for a3fd4a4
src/text_manipulation/range_spec.py
@@ -191,7 +191,7 @@ def from_line_marker(
191
)
192
193
marker_subtype = (search_term.marker_subtype or "string").casefold()
194
- assert search_line or marker_subtype == 'empty', "Empty marker"
+ assert search_line is not None or marker_subtype == 'empty', "Empty marker"
195
196
# Handle special marker subtypes that don't use normal line matching
197
match marker_subtype:
0 commit comments