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 + e2395a1 commit 079ae60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jaraco/develop/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ def projects():


def exists(project, target):
"""
>>> 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 079ae60

Please sign in to comment.