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