Remove extraneous throw. (#157658)

h/t to @tvolkert for noticing this one!
This commit is contained in:
Matan Lurey
2024-10-25 19:49:20 -07:00
committed by GitHub
parent 4e52defed4
commit 82a20e407e

View File

@@ -100,7 +100,7 @@ class AndroidPlugin extends PluginPlatform implements NativeOrDartPlugin {
final String? dartFileName = yaml[kDartFileName] as String?;
if (dartPluginClass == null && dartFileName != null) {
throw throwToolExit('"dartFileName" cannot be specified without "dartPluginClass" in Android platform of plugin "$name"');
throwToolExit('"dartFileName" cannot be specified without "dartPluginClass" in Android platform of plugin "$name"');
}
return AndroidPlugin(