Skip to content

Commit

Permalink
Merge pull request #145 from luotianqi777/fix_path
Browse files Browse the repository at this point in the history
fix: dep gav join path
  • Loading branch information
luotianqi777 authored Nov 21, 2023
2 parents 5dff189 + 5f2f9a4 commit f5e43fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opensca/model/dep.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package model

import (
"fmt"
"path/filepath"
"sort"
"strings"
)
Expand Down Expand Up @@ -181,7 +182,7 @@ func (dep *DepGraph) Build(deep bool, lan Language) {
n.Path = p.Path
}
if n.Name != "" {
n.Path += n.Index()
n.Path = filepath.Join(n.Path, n.Index())
}
// 补全语言
if n.Language == Lan_None {
Expand Down

0 comments on commit f5e43fc

Please sign in to comment.