We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4753a5d commit 99c3fe5Copy full SHA for 99c3fe5
main.py
@@ -42,13 +42,13 @@ def up(local: bool, debug: bool):
42
if not sys.stdin.isatty():
43
print("y")
44
shutil.copy(".env.example", ".env")
45
- return
46
- answer = input().lower()
47
- if answer == "y" or answer == "yes":
48
- shutil.copy(".env.example", ".env")
49
else:
50
- print("Missing .env file. Exiting")
51
+ answer = input().lower()
+ if answer == "y" or answer == "yes":
+ shutil.copy(".env.example", ".env")
+ else:
+ print("Missing .env file. Exiting")
+ return
52
53
# Reset the swarm if it exists
54
run_subprocess("docker swarm leave --force || true")
0 commit comments