mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
parent
07206e5aae
commit
3cdb3bfc1d
|
@ -708,8 +708,6 @@ func (env *Shell) Logs() string {
|
|||
}
|
||||
|
||||
func (env *Shell) TemplateCache() *TemplateCache {
|
||||
lock.Lock()
|
||||
defer lock.Unlock()
|
||||
defer env.Trace(time.Now(), "TemplateCache")
|
||||
if env.tmplCache != nil {
|
||||
return env.tmplCache
|
||||
|
|
Loading…
Reference in a new issue