Fix links to GitHub bug template (#68374)

This commit is contained in:
Danny Lin 2020-10-28 17:42:05 -07:00 committed by GitHub
parent 01201b5faf
commit 62741337b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View File

@ -675,7 +675,7 @@ class FlutterErrorDetails with Diagnosticable {
'provide substantially more information in this error message to help you determine ' 'provide substantially more information in this error message to help you determine '
'and fix the underlying cause.\n' 'and fix the underlying cause.\n'
'In either case, please report this assertion by filing a bug on GitHub:\n' 'In either case, please report this assertion by filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md'
)); ));
} }
} }
@ -808,7 +808,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
'\nThis error should still help you solve your problem, ' '\nThis error should still help you solve your problem, '
'however please also report this malformed error in the ' 'however please also report this malformed error in the '
'framework by filing a bug on GitHub:\n' 'framework by filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md'
), ),
], ],
)); ));
@ -834,7 +834,7 @@ class FlutterError extends Error with DiagnosticableTreeMixin implements Asserti
'\nThis error should still help you solve your problem, ' '\nThis error should still help you solve your problem, '
'however please also report this malformed error in the ' 'however please also report this malformed error in the '
'framework by filing a bug on GitHub:\n' 'framework by filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md'
)); ));
throw FlutterError.fromParts(message); throw FlutterError.fromParts(message);
} }

View File

@ -2072,7 +2072,7 @@ abstract class RenderBox extends RenderObject {
DiagnosticsProperty<Size>('Size', _size, style: DiagnosticsTreeStyle.errorProperty), DiagnosticsProperty<Size>('Size', _size, style: DiagnosticsTreeStyle.errorProperty),
ErrorHint( ErrorHint(
'If you are not writing your own RenderBox subclass, then this is not ' 'If you are not writing your own RenderBox subclass, then this is not '
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=BUG.md' 'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.md'
), ),
]); ]);
} }
@ -2119,7 +2119,7 @@ abstract class RenderBox extends RenderObject {
...failures, ...failures,
ErrorHint( ErrorHint(
'If you are not writing your own RenderBox subclass, then this is not\n' 'If you are not writing your own RenderBox subclass, then this is not\n'
'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=BUG.md' 'your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.md'
), ),
]); ]);
} }

View File

@ -739,7 +739,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
...addendum, ...addendum,
ErrorDescription( ErrorDescription(
"If none of the above helps enough to fix this problem, please don't hesitate to file a bug:\n" "If none of the above helps enough to fix this problem, please don't hesitate to file a bug:\n"
' https://github.com/flutter/flutter/issues/new?template=BUG.md' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md'
), ),
]); ]);
}()); }());

View File

@ -2605,7 +2605,7 @@ class BuildOwner {
ErrorHint( ErrorHint(
'If you did not attempt to call scheduleBuildFor() yourself, then this probably ' 'If you did not attempt to call scheduleBuildFor() yourself, then this probably '
'indicates a bug in the widgets framework. Please report it:\n' 'indicates a bug in the widgets framework. Please report it:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md'
), ),
]); ]);
} }

View File

@ -255,7 +255,7 @@ void main() {
'This error should still help you solve your problem, however\n' 'This error should still help you solve your problem, however\n'
'please also report this malformed error in the framework by\n' 'please also report this malformed error in the framework by\n'
'filing a bug on GitHub:\n' 'filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md\n' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md\n'
'═════════════════════════════════════════════════════════════════\n', '═════════════════════════════════════════════════════════════════\n',
); );
} }
@ -292,7 +292,7 @@ void main() {
'This error should still help you solve your problem, however\n' 'This error should still help you solve your problem, however\n'
'please also report this malformed error in the framework by\n' 'please also report this malformed error in the framework by\n'
'filing a bug on GitHub:\n' 'filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md\n' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md\n'
'═════════════════════════════════════════════════════════════════\n', '═════════════════════════════════════════════════════════════════\n',
); );
} }
@ -321,7 +321,7 @@ void main() {
'This error should still help you solve your problem, however\n' 'This error should still help you solve your problem, however\n'
'please also report this malformed error in the framework by\n' 'please also report this malformed error in the framework by\n'
'filing a bug on GitHub:\n' 'filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md\n' ' https://github.com/flutter/flutter/issues/new?template=2_bug.md\n'
'═════════════════════════════════════════════════════════════════\n', '═════════════════════════════════════════════════════════════════\n',
); );
} }
@ -421,7 +421,7 @@ void main() {
'provide substantially more information in this error message to help you determine ' 'provide substantially more information in this error message to help you determine '
'and fix the underlying cause.\n' 'and fix the underlying cause.\n'
'In either case, please report this assertion by filing a bug on GitHub:\n' 'In either case, please report this assertion by filing a bug on GitHub:\n'
' https://github.com/flutter/flutter/issues/new?template=BUG.md', ' https://github.com/flutter/flutter/issues/new?template=2_bug.md',
); );
expect(builder.properties[4] is ErrorSpacer, true); expect(builder.properties[4] is ErrorSpacer, true);
final DiagnosticsStackTrace trace = builder.properties[5] as DiagnosticsStackTrace; final DiagnosticsStackTrace trace = builder.properties[5] as DiagnosticsStackTrace;

View File

@ -220,7 +220,7 @@ Google contributes translations for all the languages supported by
this package. (Googlers, for more details see <go/flutter-l10n>.) this package. (Googlers, for more details see <go/flutter-l10n>.)
If you have feedback about the translations please If you have feedback about the translations please
[file an issue on the Flutter github repo](https://github.com/flutter/flutter/issues/new?template=BUG.md). [file an issue on the Flutter github repo](https://github.com/flutter/flutter/issues/new?template=2_bug.md).
### See Also ### See Also