Remove URL shortening from GitHub reporter similar issues URL (#53882)

This commit is contained in:
Jenn Magder
2020-04-03 10:32:55 -07:00
committed by GitHub
parent b336452cde
commit 85ad699865
4 changed files with 7 additions and 31 deletions

View File

@@ -32,9 +32,8 @@ class GitHubTemplateCreator {
final FlutterProjectFactory _flutterProjectFactory;
final HttpClient _client;
Future<String> toolCrashSimilarIssuesGitHubURL(String errorString) async {
final String fullURL = 'https://github.com/flutter/flutter/issues?q=is%3Aissue+${Uri.encodeQueryComponent(errorString)}';
return await _shortURL(fullURL);
static String toolCrashSimilarIssuesURL(String errorString) {
return 'https://github.com/flutter/flutter/issues?q=is%3Aissue+${Uri.encodeQueryComponent(errorString)}';
}
/// GitHub URL to present to the user containing encoded suggested template.