From 048e42c70065dbae6182820e4f36f6252ddc64f8 Mon Sep 17 00:00:00 2001 From: Jason Huang Date: Mon, 23 Jun 2025 13:54:26 +0800 Subject: [PATCH] refactor: Remove unused feature parameter The `unused_element_parameter` lint warning for the `feature` parameter was causing failures in the GitHub Actions CI workflow. --- lib/elinux_cache.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/elinux_cache.dart b/lib/elinux_cache.dart index e333c2c..9d21f0a 100644 --- a/lib/elinux_cache.dart +++ b/lib/elinux_cache.dart @@ -27,13 +27,13 @@ mixin ELinuxRequiredArtifacts on FlutterCommand { /// See: [DevelopmentArtifact] in `cache.dart` class ELinuxDevelopmentArtifact implements DevelopmentArtifact { // ignore: unused_element - const ELinuxDevelopmentArtifact._(this.name, {this.feature}); + const ELinuxDevelopmentArtifact._(this.name); @override final String name; @override - final Feature? feature; + final Feature? feature = null; static const DevelopmentArtifact elinux = ELinuxDevelopmentArtifact._('elinux'); }