Unverified Commit 62741337 authored by Danny Lin's avatar Danny Lin Committed by GitHub

Fix links to GitHub bug template (#68374)

parent 01201b5f
...@@ -675,7 +675,7 @@ class FlutterErrorDetails with Diagnosticable { ...@@ -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 ...@@ -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 ...@@ -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);
} }
......
...@@ -2072,7 +2072,7 @@ abstract class RenderBox extends RenderObject { ...@@ -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 { ...@@ -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'
), ),
]); ]);
} }
......
...@@ -739,7 +739,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl ...@@ -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'
), ),
]); ]);
}()); }());
......
...@@ -2605,7 +2605,7 @@ class BuildOwner { ...@@ -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'
), ),
]); ]);
} }
......
...@@ -255,7 +255,7 @@ void main() { ...@@ -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() { ...@@ -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() { ...@@ -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() { ...@@ -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;
......
...@@ -220,7 +220,7 @@ Google contributes translations for all the languages supported by ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment