Merge "aidegen: Fix bug of generating module dependency information"
This commit is contained in:
commit
a4b0422fc2
1 changed files with 1 additions and 1 deletions
|
@ -1757,7 +1757,7 @@ func (j *Import) IDECustomizedModuleName() string {
|
|||
// solution to get the Import name.
|
||||
name := j.Name()
|
||||
if strings.HasPrefix(name, removedPrefix) {
|
||||
name = strings.Trim(name, removedPrefix)
|
||||
name = strings.TrimPrefix(name, removedPrefix)
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue