mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 03:18:54 +08:00
[flutter_plugin_tools] Allow overriding breaking change check (#4369)
This commit is contained in:
@ -133,7 +133,7 @@ class DriveExamplesCommand extends PackageLoopingCommand {
|
||||
|
||||
@override
|
||||
Future<PackageResult> runForPackage(RepositoryPackage package) async {
|
||||
if (package.directory.basename.endsWith('_platform_interface') &&
|
||||
if (package.isPlatformInterface &&
|
||||
!package.getSingleExampleDeprecated().directory.existsSync()) {
|
||||
// Platform interface packages generally aren't intended to have
|
||||
// examples, and don't need integration tests, so skip rather than fail.
|
||||
|
Reference in New Issue
Block a user