Commit b0c87ad --global
committed
1 parent f90108b commit b0c87ad Copy full SHA for b0c87ad
File tree 1 file changed +17
-14
lines changed
1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,23 @@ def print_intro():
58
58
"https://www.codeforlife.education/" ,
59
59
"visit our site" ,
60
60
)
61
- + ".\n \n "
62
- + "👇👀👇 "
61
+ + ".\n "
62
+ )
63
+
64
+ answers = inquirer .prompt (
65
+ [
66
+ inquirer .Confirm (
67
+ "proceed" ,
68
+ message = "Would you like to proceed with setting up your dev container?" ,
69
+ )
70
+ ]
71
+ )
72
+
73
+ if answers and not t .cast (bool , answers ["proceed" ]):
74
+ sys .exit ()
75
+
76
+ print (
77
+ "👇👀👇 "
63
78
+ Style .BRIGHT
64
79
+ Back .YELLOW
65
80
+ "PLEASE READ INSTRUCTIONS"
@@ -100,18 +115,6 @@ def print_intro():
100
115
)
101
116
print ()
102
117
103
- answers = inquirer .prompt (
104
- [
105
- inquirer .Confirm (
106
- "proceed" ,
107
- message = "Would you like to proceed with setting up your dev container?" ,
108
- )
109
- ]
110
- )
111
-
112
- if answers and not t .cast (bool , answers ["proceed" ]):
113
- sys .exit ()
114
-
115
118
116
119
def print_exit (error : bool ):
117
120
"""Prints the exiting statement to the console.
You can’t perform that action at this time.
0 commit comments