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.
2 parents 7aeae59 + 84dc640 commit 3f2fe1eCopy full SHA for 3f2fe1e
.github/ci/bsp_noglib.py
@@ -71,7 +71,7 @@ def remove_examples(bsp_path):
71
72
def add_notice_to_readme(bsp_path):
73
readme_path = bsp_path / 'README.md'
74
- bsp_name = bsp_path.parts[-1].rstrip("_noglib")
+ bsp_name = bsp_path.parts[-1].removesuffix("_noglib")
75
try:
76
with open(readme_path, encoding='utf-8', mode='r') as readme:
77
content = readme.readlines()
0 commit comments