mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
add link to choose a license, todo update frontend
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user