aports/testing/flutter/doctor.patch
2025-10-06 07:26:39 +02:00

19 lines
680 B
Diff

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