mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 11:59:40 -08:00
fix(node): remove leading space for PackageManagerIcon in node segment
This commit is contained in:
parent
2606031c76
commit
192309a283
|
@ -55,11 +55,11 @@ func (n *Node) loadContext() {
|
|||
return
|
||||
}
|
||||
if n.language.env.HasFiles("yarn.lock") {
|
||||
n.PackageManagerIcon = n.language.props.GetString(YarnIcon, " \uF61A")
|
||||
n.PackageManagerIcon = n.language.props.GetString(YarnIcon, "\uF61A")
|
||||
return
|
||||
}
|
||||
if n.language.env.HasFiles("package-lock.json") || n.language.env.HasFiles("package.json") {
|
||||
n.PackageManagerIcon = n.language.props.GetString(NPMIcon, " \uE71E")
|
||||
n.PackageManagerIcon = n.language.props.GetString(NPMIcon, "\uE71E")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue