mirror of
https://github.com/flutter/packages.git
synced 2025-08-16 13:01:29 +08:00
[tool] Clean up "plugin" references (#6503)
This commit is contained in:
@ -8,7 +8,7 @@ import 'package:path/path.dart' as p;
|
||||
import 'package:platform/platform.dart';
|
||||
|
||||
import 'common/core.dart';
|
||||
import 'common/plugin_command.dart';
|
||||
import 'common/package_command.dart';
|
||||
|
||||
const Set<String> _codeFileExtensions = <String>{
|
||||
'.c',
|
||||
@ -105,7 +105,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
''';
|
||||
|
||||
/// Validates that code files have copyright and license blocks.
|
||||
class LicenseCheckCommand extends PluginCommand {
|
||||
class LicenseCheckCommand extends PackageCommand {
|
||||
/// Creates a new license check command for [packagesDir].
|
||||
LicenseCheckCommand(Directory packagesDir,
|
||||
{Platform platform = const LocalPlatform(), GitDir? gitDir})
|
||||
|
Reference in New Issue
Block a user