mirror of
https://github.com/Lakr233/GitLab-License-Generator.git
synced 2026-01-30 11:55:35 +02:00
Update generator.license.rb
This commit is contained in:
@@ -108,11 +108,13 @@ for feature in FEATURE_LIST
|
||||
license.restrictions[feature] = 2147483647
|
||||
end
|
||||
|
||||
puts "[*] validating license..."
|
||||
if !license.valid?
|
||||
puts "[E] license validation failed!"
|
||||
puts "[E] #{license.errors}"
|
||||
exit 1
|
||||
end
|
||||
puts "[*] license validated"
|
||||
|
||||
puts "[*] exporting license file..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user