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(
9090 try {
9191 findings = await filePathStream1.toList ();
9292 } catch (e) {
93+ spinner.stop ();
9394 _print (
9495 printRed,
9596 'Failed to read file tree!' ,
96- spinner,
9797 );
9898 exit (ExitCodes .FAILURE .code);
9999 }
@@ -118,10 +118,10 @@ Future<void> genScreenApp(
118118
119119 final data = result.unwrap ();
120120 if (result.isErr) {
121+ spinner.stop ();
121122 _print (
122123 printRed,
123124 ' Failed to read template!' ,
124- spinner,
125125 );
126126 exit (ExitCodes .FAILURE .code);
127127 }
@@ -144,6 +144,7 @@ Future<void> genScreenApp(
144144 data,
145145 );
146146 }
147+ spinner.stop ();
147148}
148149
149150// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
You can’t perform that action at this time.
0 commit comments