aports/testing/flutter/doctor.patch
2025-02-23 21:16:00 +00:00

18 lines
687 B
Diff

--- ./packages/flutter_tools/lib/src/doctor.dart.orig
+++ ./packages/flutter_tools/lib/src/doctor.dart
@@ -694,15 +694,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;
}