`src-expose dir` (where dir is a git repo) serves a repo named "."
Created by: dadlerj
Reported by https://app.hubspot.com/contacts/2762526/company/693777200, confirmed by me.
Repro:
- install
src-expose git clone https://github.com/<org>/<any git repo>src-expose serve /path/to/<any git repo>/- visit http://[::]:3434, click on
list-repos, and note that the repo is being served as "."
(Note that the same behavior is exhibited when using src-expose without the serve arg)
The only way to make this work as expected is to instead run src-expose /path/to/, and then the git repos that are children of that path are all served up with the correct names. This is, however, less ideal as you can't explicitly enumerate which repos you want to include — you always have to create a parent dir that only contains the ones you want.
