add link to choose a license, todo update frontend

This commit is contained in:
Shawn Smith
2015-10-14 12:49:57 +09:00
parent bf828304ce
commit cd6f08bcfa

View File

@@ -26,7 +26,7 @@ func (g License) Percentage() (float64, []FileSummary, error) {
return 0.0, []FileSummary{}, err
}
if out.String() == "" {
return 0.0, []FileSummary{}, nil
return 0.0, []FileSummary{{"", "http://choosealicense.com/", []Error{}}}, nil
}
return 100.0, []FileSummary{}, nil