filter-repo: fix --no-local error when there is no remote
Commit 011c646ee8
(filter-repo: suggest --no-local when cloning local
repos, 2020-05-15) added an additional message to the error to make it
more clear what to do when cloning local repos. However, if there was
no remote, then the code path would run os.path.isdir(None), triggering
a traceback. Fix the logic.
Signed-off-by: Elijah Newren <newren@gmail.com>
pull/101/head
parent
423b7d2c89
commit
3dfaf3874e
Loading…
Reference in New Issue