mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
parent
c62a272e72
commit
2606031c76
3
.vscode/launch.json
vendored
3
.vscode/launch.json
vendored
|
@ -12,8 +12,7 @@
|
|||
"print",
|
||||
"primary",
|
||||
"--shell=pwsh",
|
||||
"--terminal-width=200",
|
||||
"--config=/Users/jan/.test.omp.json"
|
||||
"--terminal-width=200"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -123,6 +123,8 @@ func (m Map) GetInt(property Property, defaultValue int) int {
|
|||
return v
|
||||
case int64:
|
||||
return int(v)
|
||||
case uint64:
|
||||
return int(v)
|
||||
case float64:
|
||||
intValue, ok := val.(float64)
|
||||
if !ok {
|
||||
|
|
Loading…
Reference in a new issue