未验证 提交 5ff7e4bf 编写于 作者: LinuxSuRen's avatar LinuxSuRen 提交者: GitHub

Merge pull request #110 from yJunS/config-remove

Fix download plugin failure
......@@ -6,6 +6,7 @@ import (
"io/ioutil"
"log"
"net/http"
"strings"
)
type PluginAPI struct {
......@@ -98,7 +99,7 @@ func (d *PluginAPI) DownloadPlugins(names []string) {
fmt.Println("Start to collect plugin dependencies...")
plugins := make([]PluginInfo, 0)
for _, name := range names {
plugins = append(plugins, d.collectDependencies(name)...)
plugins = append(plugins, d.collectDependencies(strings.ToLower(name))...)
}
fmt.Printf("Ready to download plugins, total: %d.\n", len(plugins))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册