Skip to content

Commit 3f2fe1e

Browse files
authored
Merge pull request #690 from espressif/petr/fix/noglib
fix(noglib): Fix path of BSP components in noglib readme
2 parents 7aeae59 + 84dc640 commit 3f2fe1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/ci/bsp_noglib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def remove_examples(bsp_path):
7171

7272
def add_notice_to_readme(bsp_path):
7373
readme_path = bsp_path / 'README.md'
74-
bsp_name = bsp_path.parts[-1].rstrip("_noglib")
74+
bsp_name = bsp_path.parts[-1].removesuffix("_noglib")
7575
try:
7676
with open(readme_path, encoding='utf-8', mode='r') as readme:
7777
content = readme.readlines()

0 commit comments

Comments
 (0)