Fix nolimit tag build

This commit is contained in:
Kévin Darcel 2019-04-01 14:54:41 -06:00
parent 2a3ffc779b
commit 2045ce3dd5
No known key found for this signature in database
GPG key ID: DE93B4B65489BB3B

View file

@ -16,8 +16,12 @@
package license package license
// DefaultLicense is an empty license with no restrictions. import (
var DefaultLicense = &License{Kind: LicenseFoss} "github.com/drone/drone/core"
)
func Trial(string) *License { return nil } // DefaultLicense is an empty license with no restrictions.
func Load(string) (*License, error) { return DefaultLicense, nil } var DefaultLicense = &core.License{Kind: core.LicenseFoss}
func Trial(string) *core.License { return nil }
func Load(string) (*core.License, error) { return DefaultLicense, nil }