mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
parent
000ef40009
commit
0e25f1613c
|
@ -21,7 +21,7 @@ type Gcp struct {
|
|||
}
|
||||
|
||||
func (g *Gcp) Template() string {
|
||||
return " {{ if .Error }}{{ .Error }}{{ else }}{{ .Project }}{{ end }} "
|
||||
return " {{ if not .Error }}{{ .Project }}{{ end }} "
|
||||
}
|
||||
|
||||
func (g *Gcp) Init(props properties.Properties, env environment.Environment) {
|
||||
|
|
Loading…
Reference in a new issue