Fix nolimit tag build
This commit is contained in:
parent
2a3ffc779b
commit
2045ce3dd5
1 changed files with 8 additions and 4 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue