Remove crash_reporting and github_template from reporting library (#80139)
This commit is contained in:
@@ -4,7 +4,20 @@
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
part of reporting;
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:file/file.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import '../base/file_system.dart';
|
||||
import '../base/io.dart';
|
||||
import '../base/logger.dart';
|
||||
import '../base/os.dart';
|
||||
import '../base/platform.dart';
|
||||
import '../project.dart';
|
||||
import 'github_template.dart';
|
||||
import 'reporting.dart';
|
||||
|
||||
/// Tells crash backend that the error is from the Flutter CLI.
|
||||
const String _kProductId = 'Flutter_Tools';
|
||||
|
||||
@@ -4,7 +4,23 @@
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
part of reporting;
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:file/file.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import '../base/file_system.dart';
|
||||
import '../base/io.dart';
|
||||
import '../base/logger.dart';
|
||||
import '../base/process.dart';
|
||||
import '../build_system/exceptions.dart';
|
||||
import '../convert.dart';
|
||||
import '../devfs.dart';
|
||||
import '../flutter_manifest.dart';
|
||||
import '../flutter_project_metadata.dart';
|
||||
import '../project.dart';
|
||||
import '../version.dart';
|
||||
|
||||
/// Provide suggested GitHub issue templates to user when Flutter encounters an error.
|
||||
class GitHubTemplateCreator {
|
||||
|
||||
@@ -9,37 +9,22 @@ library reporting;
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:file/file.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:package_config/package_config.dart';
|
||||
import 'package:usage/usage_io.dart';
|
||||
|
||||
import '../base/error_handling_io.dart';
|
||||
import '../base/file_system.dart';
|
||||
import '../base/io.dart';
|
||||
import '../base/logger.dart';
|
||||
import '../base/os.dart';
|
||||
import '../base/platform.dart';
|
||||
import '../base/process.dart';
|
||||
import '../base/time.dart';
|
||||
import '../build_info.dart';
|
||||
import '../build_system/exceptions.dart';
|
||||
import '../convert.dart';
|
||||
import '../dart/language_version.dart';
|
||||
import '../devfs.dart';
|
||||
import '../doctor_validator.dart';
|
||||
import '../features.dart';
|
||||
import '../flutter_manifest.dart';
|
||||
import '../flutter_project_metadata.dart';
|
||||
import '../globals.dart' as globals;
|
||||
import '../project.dart';
|
||||
import '../runner/flutter_command.dart';
|
||||
import '../version.dart';
|
||||
import 'first_run.dart';
|
||||
|
||||
part 'crash_reporting.dart';
|
||||
part 'disabled_usage.dart';
|
||||
part 'events.dart';
|
||||
part 'github_template.dart';
|
||||
part 'usage.dart';
|
||||
|
||||
Reference in New Issue
Block a user