We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bun.lock
1 parent f3b5687 commit 56e015fCopy full SHA for 56e015f
src/segments/node.go
@@ -77,6 +77,12 @@ func (n *Node) loadContext() {
77
iconProperty: BunIcon,
78
defaultIcon: "\ue76f",
79
},
80
+ {
81
+ fileName: "bun.lock",
82
+ name: "bun",
83
+ iconProperty: BunIcon,
84
+ defaultIcon: "\ue76f",
85
+ },
86
{
87
fileName: "package-lock.json",
88
name: "npm",
src/segments/node_test.go
@@ -84,6 +84,7 @@ func TestNodeInContext(t *testing.T) {
env.On("HasFiles", "package-lock.json").Return(tc.hasNPM)
env.On("HasFiles", "package.json").Return(tc.hasDefault)
env.On("HasFiles", "bun.lockb").Return(tc.hasBun)
+ env.On("HasFiles", "bun.lock").Return(tc.hasBun)
89
props := properties.Map{
90
PnpmIcon: "pnpm",
0 commit comments