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 19249f8 commit e13371cCopy full SHA for e13371c
1 file changed
scripts/shared.py
@@ -220,7 +220,7 @@ def update_readme(
220
entry_start_index = lines.index(entry_start_line)
221
entry_end_index = lines.index(entry_end_line)
222
# Include any trailing empty/whitespace-only lines
223
- while not lines[entry_end_index + 1].strip():
+ while entry_end_index + 1 < len(lines) and not lines[entry_end_index + 1].strip():
224
entry_end_index += 1
225
# Initalize variables of entry is not present
226
else:
0 commit comments