forked from firka/flutter
Delete catalog generator android/ios tests (#64977)
This commit is contained in:
committed by
GitHub
parent
c7353bc414
commit
237c0ab424
@@ -7,7 +7,6 @@ import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:args/args.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:process/process.dart';
|
||||
@@ -611,26 +610,6 @@ Future<void> runAndCaptureAsyncStacks(Future<void> callback()) {
|
||||
|
||||
bool canRun(String path) => _processManager.canRun(path);
|
||||
|
||||
String extractCloudAuthTokenArg(List<String> rawArgs) {
|
||||
final ArgParser argParser = ArgParser()..addOption('cloud-auth-token');
|
||||
ArgResults args;
|
||||
try {
|
||||
args = argParser.parse(rawArgs);
|
||||
} on FormatException catch (error) {
|
||||
stderr.writeln('${error.message}\n');
|
||||
stderr.writeln('Usage:\n');
|
||||
stderr.writeln(argParser.usage);
|
||||
return null;
|
||||
}
|
||||
|
||||
final String token = args['cloud-auth-token'] as String;
|
||||
if (token == null) {
|
||||
stderr.writeln('Required option --cloud-auth-token not found');
|
||||
return null;
|
||||
}
|
||||
return token;
|
||||
}
|
||||
|
||||
final RegExp _obsRegExp =
|
||||
RegExp('An Observatory debugger .* is available at: ');
|
||||
final RegExp _obsPortRegExp = RegExp(r'(\S+:(\d+)/\S*)$');
|
||||
|
||||
Reference in New Issue
Block a user