There was an error while loading. Please reload this page.
1 parent cd1ce23 commit 9000233Copy full SHA for 9000233
lib/commands/init/init.dart
@@ -18,13 +18,8 @@ class ReactNativeInit extends Command {
18
Future<void> run() async {
19
ArgsProcessor argsProcessor = ArgsProcessor(args);
20
21
- // Skip the selection of "init type" and directly set it to "standard"
22
- int idx = 0; // Standard initialization type by default
+ String branch = 'main';
23
24
- // Skip the selection of architecture branches and default to 'main' branch
25
- String branch = 'main'; // Set default to main branch
26
-
27
- // Start the process of fetching the branches (but default to 'main' without user input)
28
List<String>? branches = await GitService.getGitLabBranches(
29
ReactNativeConfig.i.archManagerProjectID,
30
TokenService().accessToken!,
0 commit comments