jupyterhub / nbgitpuller

Jupyter server extension to sync a git repository one-way to a local path
https://nbgitpuller.readthedocs.io
BSD 3-Clause "New" or "Revised" License
212 stars 86 forks source link

Handle extra trailing slash when determining default targetpath #356

Closed yuvipanda closed 3 months ago

yuvipanda commented 3 months ago

Otherwise we end up with targetpath being ., which always exists (given it is current working directory) and we end up with weird failures

Discovered while working on https://github.com/2i2c-org/infrastructure/issues/4576