summarylogtreecommitdiffstats
path: root/doctor.patch
blob: b1044ad9dd4d068708393dbf707f86ad7d144cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/packages/flutter_tools/lib/src/doctor.dart
+++ b/packages/flutter_tools/lib/src/doctor.dart
@@ -703,15 +703,6 @@
         '$flutterBinDir to your path.',
       );
     }
-    final String resolvedFlutterPath = flutterBin.resolveSymbolicLinksSync();
-    if (!_filePathContainsDirPath(flutterRoot, resolvedFlutterPath)) {
-      final 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;
   }