diff --git a/src/chocolatey/infrastructure.app/runners/GenericRunner.cs b/src/chocolatey/infrastructure.app/runners/GenericRunner.cs index 2126b236bb..d14e042b98 100644 --- a/src/chocolatey/infrastructure.app/runners/GenericRunner.cs +++ b/src/chocolatey/infrastructure.app/runners/GenericRunner.cs @@ -121,7 +121,10 @@ private void set_source_type(ChocolateyConfiguration config) public void fail_when_license_is_missing_or_invalid_if_requested(ChocolateyConfiguration config) { - if (!config.Features.FailOnInvalidOrMissingLicense) return; + if (!config.Features.FailOnInvalidOrMissingLicense || + config.CommandName.trim_safe().is_equal_to("feature") || + config.CommandName.trim_safe().is_equal_to("features") + ) return; if (!config.Information.IsLicensedVersion) throw new ApplicationException("License is missing or invalid."); }