internal: Bug fix: license.txt was changed to LICENSE

This commit is contained in:
Hajime Hoshi 2015-05-21 00:03:04 +09:00
parent 4fcfa822e1
commit 7490bfa4f4

View File

@ -23,7 +23,7 @@ import (
func LicenseComment() (string, error) { func LicenseComment() (string, error) {
_, path, _, _ := runtime.Caller(0) _, path, _, _ := runtime.Caller(0)
licensePath := filepath.Join(filepath.Dir(path), "..", "license.txt") licensePath := filepath.Join(filepath.Dir(path), "..", "LICENSE")
l, err := ioutil.ReadFile(licensePath) l, err := ioutil.ReadFile(licensePath)
if err != nil { if err != nil {
return "", err return "", err