Przeglądaj źródła

fix error message when no type matches.

Lucas Stadler 11 lat temu
rodzic
commit
4a6301bab2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      go/detect/detect.go

+ 1 - 1
go/detect/detect.go

@ -65,7 +65,7 @@ func Detect(file string) (*Project, error) {
65 65
		}
66 66
	}
67 67
68
	return nil, errors.New("no project matches")
68
	return nil, errors.New("no project type matches")
69 69
}
70 70
71 71
func DetectAll(file string) []*Project {