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