x
This commit is contained in:
@@ -31,7 +31,7 @@ func initNodePlugins() {
|
||||
plugins := []string{root}
|
||||
os.Mkdir(root, 0755)
|
||||
filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
||||
if !strings.HasPrefix(path, "/Users/a1-6/Code/sillyplus/plugins/") {
|
||||
if !strings.HasPrefix(path, utils.ExecPath+"/plugins/") {
|
||||
return nil
|
||||
}
|
||||
files := strings.Split(strings.Replace(path, root+"/", "", 1), "/")
|
||||
|
||||
Reference in New Issue
Block a user