mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
parent
e3b2d86b06
commit
b5dab586d3
|
@ -297,7 +297,7 @@ func (env *ShellEnvironment) downloadConfig(location string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (env *ShellEnvironment) Trace(start time.Time, function string, args ...string) {
|
func (env *ShellEnvironment) Trace(start time.Time, function string, args ...string) {
|
||||||
if !env.CmdFlags.Debug {
|
if env.CmdFlags != nil && !env.CmdFlags.Debug {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
elapsed := time.Since(start)
|
elapsed := time.Since(start)
|
||||||
|
|
Loading…
Reference in a new issue