We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dff189 commit 5f2f9a4Copy full SHA for 5f2f9a4
opensca/model/dep.go
@@ -2,6 +2,7 @@ package model
2
3
import (
4
"fmt"
5
+ "path/filepath"
6
"sort"
7
"strings"
8
)
@@ -181,7 +182,7 @@ func (dep *DepGraph) Build(deep bool, lan Language) {
181
182
n.Path = p.Path
183
}
184
if n.Name != "" {
- n.Path += n.Index()
185
+ n.Path = filepath.Join(n.Path, n.Index())
186
187
// 补全语言
188
if n.Language == Lan_None {
0 commit comments