mirror of
https://github.com/Lakr233/GitLab-License-Generator.git
synced 2026-01-30 03:45:36 +02:00
fix: license_plan condition
This commit is contained in:
committed by
GitHub
parent
4291bd13bc
commit
284a103f69
@@ -74,7 +74,7 @@ if license_file_path.nil? || public_key_path.nil? || private_key_path.nil?
|
||||
exit 1
|
||||
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 "[!] use -h for help"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user