Skip to content

Commit

Permalink
Merge failing test with fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 27, 2024
2 parents f24d0af + 7cee358 commit 6d64f18
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jaraco/develop/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,15 @@ def projects():


def exists(project, target):
"""
>>> target = getfixture('tmp_path')
>>> exists('foo', target)
False
>>> target = path.Path(getfixture('tmp_path'))
>>> exists('foo', target)
False
"""
return target.joinpath(posixpath.basename(resolve(project))).is_dir()


Expand Down

0 comments on commit 6d64f18

Please sign in to comment.