diff options
| author | William Boman <william@redwill.se> | 2022-07-10 03:16:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-10 03:16:22 +0200 |
| commit | 203d156b3c3799ea63960a30f1ab16f1cc17644e (patch) | |
| tree | 6e182db0917a7973a1425850c514e71b48462ea3 /lua/mason-core/managers/luarocks/init.lua | |
| parent | feat: add editorconfig-checker, misspell, shfmt, vint (#39) (diff) | |
| download | mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar.gz mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar.bz2 mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar.lz mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar.xz mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.tar.zst mason-203d156b3c3799ea63960a30f1ab16f1cc17644e.zip | |
fix(luarocks): bin linking (#45)
Diffstat (limited to 'lua/mason-core/managers/luarocks/init.lua')
| -rw-r--r-- | lua/mason-core/managers/luarocks/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/mason-core/managers/luarocks/init.lua b/lua/mason-core/managers/luarocks/init.lua index 7959261c..7ec082c8 100644 --- a/lua/mason-core/managers/luarocks/init.lua +++ b/lua/mason-core/managers/luarocks/init.lua @@ -44,10 +44,10 @@ function M.install(pkg, opts) pkg, ctx.requested_version:or_else(vim.NIL), } - if pkg.bin then + if opts.bin then _.each(function(executable) ctx:link_bin(executable, create_bin_path(executable)) - end, pkg.bin) + end, opts.bin) end return { with_receipt = with_receipt(pkg), |
