fix: license_plan condition

This commit is contained in:
Motalleb Fallahnezhad
2024-10-29 20:35:22 +03:30
committed by GitHub
parent 4291bd13bc
commit 284a103f69

View File

@@ -74,7 +74,7 @@ if license_file_path.nil? || public_key_path.nil? || private_key_path.nil?
exit 1 exit 1
end end
if license_plan != 'ultimate' && license_plan != 'premium' && license_plan != 'starter' && if license_plan != 'ultimate' && license_plan != 'premium' && license_plan != 'starter'
puts "[!] license plan is set to #{license_plan} which is not one of [ultimate, premium, starter]" puts "[!] license plan is set to #{license_plan} which is not one of [ultimate, premium, starter]"
puts "[!] use -h for help" puts "[!] use -h for help"
exit 1 exit 1