mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
parent
000ef40009
commit
0e25f1613c
|
@ -21,7 +21,7 @@ type Gcp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *Gcp) Template() string {
|
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) {
|
func (g *Gcp) Init(props properties.Properties, env environment.Environment) {
|
||||||
|
|
Loading…
Reference in a new issue