Merge "aidegen: Fix bug of generating module dependency information"
am: a4b0422fc2
Change-Id: I72c5110032f78515f2f06e66a54a17564df5d4c6
This commit is contained in:
commit
2c7ee9d444
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