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