Do not check if .git folder exists
git commands will fail anyway if not present
This commit is contained in:
1 parent
99534e4eb9
commit
574af4b7fe
3 files changed
+3
-28
No files matched your search
@@ -25,11 +25,6 @@ def is_django_project(path):
|
||||
return os.path.isfile(django_manage_file)
|
||||
|
||||
|
||||
def is_git_project(path):
|
||||
git_directory = os.path.join(path, ".git")
|
||||
return os.path.isdir(git_directory)
|
||||
|
||||
|
||||
def is_directory(path):
|
||||
return os.path.isdir(path)
|
||||
|
||||
|
||||
Reference in new issue
Block a user