Skip to content

Commit 161ca2b

Browse files
author
Cruz Monrreal
authored
Merge pull request #8261 from cmonr/dont-fail-on-trailing-slash
Enabled the removal of a trailing slash
2 parents 9f98d39 + f5e6f16 commit 161ca2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/examples/examples_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def deploy_repos(config, examples):
203203
print("\nDeploying example repos....\n")
204204
for example in config['examples']:
205205
for repo_info in get_repo_list(example):
206-
name = basename(repo_info['repo'])
206+
name = basename(repo_info['repo'].strip('/'))
207207
if name in examples:
208208
if os.path.exists(name):
209209
os.chdir(name)

0 commit comments

Comments
 (0)