Skip to content
Snippets Groups Projects
Commit 9d6c81fb authored by dylan.peiry's avatar dylan.peiry
Browse files

fix(gitcreate.py) .gitignore msg

parent e391a1ae
Branches
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ def create_gl_project(gl: gitlab.Gitlab): ...@@ -68,7 +68,7 @@ def create_gl_project(gl: gitlab.Gitlab):
if not check_get_ignore(): if not check_get_ignore():
ans = input( ans = input(
f"{Colors.RED}There is no {Colors.BLUE}.gitignore{Colors.RED} file. Would you like to continue ? (y/n){Colors.RESET}") f"{Colors.RED}There is no {Colors.BLUE}.gitignore{Colors.RED} file. Would you like to continue ? (y/n){Colors.RESET}")
if ans != 'y' or ans != 'yes': if ans != 'y':
exit(1) exit(1)
gini = subprocess.run(["git", "init"], stdout=subprocess.DEVNULL).returncode == 0 gini = subprocess.run(["git", "init"], stdout=subprocess.DEVNULL).returncode == 0
if not gini: if not gini:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment