Skip to content

Commit

Permalink
[CI] Fix redundant / in file path (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschulz-COL authored Oct 29, 2024
1 parent a47b991 commit 2a8e3d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/pycafe/create_pycafe_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def generate_link(directory: str, extra_requirements: Optional[list[str]] = None
# Add files to the json_object
json_object["files"] = [
{
"name": file["path"].removeprefix(f"{directory}/"),
"url": f"{base_url}/{file['path'].removeprefix(f'{directory}/')}",
"name": file["path"].removeprefix(f"{directory}"),
"url": f"{base_url}{file['path'].removeprefix(f'{directory}')}",
}
for file in folder_files
# Filter out app.py and requirements.txt (as already added above)
Expand Down
1 change: 1 addition & 0 deletions vizro-core/examples/scratch_dev/README2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Also to be deleted

0 comments on commit 2a8e3d8

Please sign in to comment.