Merge pull request #308 from colincross/modulepath

Remove unused Context.ModulePath
This commit is contained in:
colincross 2020-07-16 12:54:17 -07:00 committed by GitHub
commit 94594808c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {