Skip to content

Commit

Permalink
fix: trailing slash deleting apps folder
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed Jun 10, 2020
1 parent c022d7b commit 52ee67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_app(git_url, branch=None, bench_path='.', skip_assets=False, verbose=Fal
sys.exit(1)

# Gets repo name from URL
repo_name = git_url.rsplit('/', 1)[1].rsplit('.', 1)[0]
repo_name = git_url.rstrip('/').rsplit('/', 1)[1].rsplit('.', 1)[0]
shallow_clone = '--depth 1' if check_git_for_shallow_clone() else ''
branch = '--branch {branch}'.format(branch=branch) if branch else ''
else:
Expand Down

0 comments on commit 52ee67f

Please sign in to comment.