summarylogtreecommitdiffstats
path: root/doctor.patch
blob: 76c51dd516ffee8c9f760f1dbb412a19e942db96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
   }