aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/mason-core/managers/dotnet/init.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/lua/mason-core/managers/dotnet/init.lua b/lua/mason-core/managers/dotnet/init.lua
index 4ad752b6..ee5c734d 100644
--- a/lua/mason-core/managers/dotnet/init.lua
+++ b/lua/mason-core/managers/dotnet/init.lua
@@ -42,11 +42,9 @@ function M.install(pkg, opt)
}
if opt and opt.bin then
- if opt.bin then
- _.each(function(executable)
- ctx:link_bin(executable, create_bin_path(executable))
- end, opt.bin)
- end
+ _.each(function(executable)
+ ctx:link_bin(executable, create_bin_path(executable))
+ end, opt.bin)
end
return {