summarylogtreecommitdiffstats
path: root/doctor.patch
diff options
context:
space:
mode:
authorThe one with the braid2024-03-24 23:01:51 +0100
committerThe one with the braid2024-03-24 23:01:51 +0100
commit7216ed6b51d0746620796673871dddad7b704bb2 (patch)
treea57f113593f9b487f15c1e4b077d643b81d9905f /doctor.patch
parent2942f591ec73f3a8c132cd77a1331507dc581475 (diff)
downloadaur-7216ed6b51d0746620796673871dddad7b704bb2.tar.gz
refactor: complete package rewrite
Signed-off-by: The one with the braid <info@braid.business>
Diffstat (limited to 'doctor.patch')
-rw-r--r--doctor.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/doctor.patch b/doctor.patch
new file mode 100644
index 000000000000..76c51dd516ff
--- /dev/null
+++ b/doctor.patch
@@ -0,0 +1,17 @@
+--- a/packages/flutter_tools/lib/src/doctor.dart
++++ b/packages/flutter_tools/lib/src/doctor.dart
+@@ -621,14 +621,6 @@
+ '$flutterBinDir to your path.',
+ );
+ }
+- final String resolvedFlutterPath = flutterBin.resolveSymbolicLinksSync();
+- if (!_filePathContainsDirPath(flutterRoot, resolvedFlutterPath)) {
+- final String hint = 'Warning: `$binary` on your path resolves to '
+- '$resolvedFlutterPath, which is not inside your current Flutter '
+- 'SDK checkout at $flutterRoot. Consider adding $flutterBinDir to '
+- 'the front of your path.';
+- return ValidationMessage.hint(hint);
+- }
+ return null;
+ }
+