Skip to content

Commit 06c0185

Browse files
committed
fix(list): use the correct bin path
1 parent e88ad17 commit 06c0185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/list/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func Execute(c *cli.Context) error {
1818
return err
1919
}
2020

21-
inv := inventory.New(os.DirFS(cfg.BinPath), cfg.BinPath, cfg.GetOptPath(), cfg)
21+
inv := inventory.New(os.DirFS(cfg.GetPath()), cfg.GetPath(), cfg.GetOptPath(), cfg)
2222

2323
for _, key := range inv.GetBinsSortedKeys() {
2424
bin := inv.Bins[key]

0 commit comments

Comments
 (0)