variable ModulePath must return configured path
The parent path case is handled ReferenceOutside
This commit is contained in:
parent
9722686b62
commit
242a916a17
|
@ -150,7 +150,7 @@ func (n *nodeModuleVariable) Path() addrs.ModuleInstance {
|
|||
|
||||
// GraphNodeModulePath
|
||||
func (n *nodeModuleVariable) ModulePath() addrs.Module {
|
||||
return n.Addr.Module.Parent().Module()
|
||||
return n.Addr.Module.Module()
|
||||
}
|
||||
|
||||
// RemovableIfNotTargeted
|
||||
|
|
Loading…
Reference in New Issue