Merge pull request #2641 from MilleniumStudio/master

Fix nolimit tag build
This commit is contained in:
Brad Rydzewski 2019-04-02 23:53:25 -04:00 committed by GitHub
commit 6a67954672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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