Merge pull request #308 from colincross/modulepath
Remove unused Context.ModulePath
This commit is contained in:
commit
94594808c5
1 changed files with 1 additions and 6 deletions
|
@ -3047,13 +3047,8 @@ func (c *Context) ModuleName(logicModule Module) string {
|
|||
return module.Name()
|
||||
}
|
||||
|
||||
func (c *Context) ModulePath(logicModule Module) string {
|
||||
module := c.moduleInfo[logicModule]
|
||||
return module.relBlueprintsFile
|
||||
}
|
||||
|
||||
func (c *Context) ModuleDir(logicModule Module) string {
|
||||
return filepath.Dir(c.ModulePath(logicModule))
|
||||
return filepath.Dir(c.BlueprintFile(logicModule))
|
||||
}
|
||||
|
||||
func (c *Context) ModuleSubDir(logicModule Module) string {
|
||||
|
|
Loading…
Reference in a new issue