File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ Future<void> genScreenApp(
90
90
try {
91
91
findings = await filePathStream1.toList ();
92
92
} catch (e) {
93
+ spinner.stop ();
93
94
_print (
94
95
printRed,
95
96
'Failed to read file tree!' ,
96
- spinner,
97
97
);
98
98
exit (ExitCodes .FAILURE .code);
99
99
}
@@ -118,10 +118,10 @@ Future<void> genScreenApp(
118
118
119
119
final data = result.unwrap ();
120
120
if (result.isErr) {
121
+ spinner.stop ();
121
122
_print (
122
123
printRed,
123
124
' Failed to read template!' ,
124
- spinner,
125
125
);
126
126
exit (ExitCodes .FAILURE .code);
127
127
}
@@ -144,6 +144,7 @@ Future<void> genScreenApp(
144
144
data,
145
145
);
146
146
}
147
+ spinner.stop ();
147
148
}
148
149
149
150
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
You can’t perform that action at this time.
0 commit comments