diff options
Diffstat (limited to 'lua/mason-core/package/init.lua')
| -rw-r--r-- | lua/mason-core/package/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/mason-core/package/init.lua b/lua/mason-core/package/init.lua index 1627c1ec..b7af8439 100644 --- a/lua/mason-core/package/init.lua +++ b/lua/mason-core/package/init.lua @@ -16,7 +16,7 @@ local version_checks = require "mason-core.package.version-check" ---@class Package : EventEmitter ---@field name string ---@field spec PackageSpec ----@field private handle InstallHandle @The currently associated handle. +---@field private handle InstallHandle: The currently associated handle. local Package = setmetatable({}, { __index = EventEmitter }) ---@param package_identifier string @@ -168,7 +168,7 @@ function Package:get_install_path() return path.package_prefix(self.name) end ----@return Optional @Optional<@see InstallReceipt> +---@return Optional: Optional<InstallReceipt> function Package:get_receipt() local receipt_path = path.concat { self:get_install_path(), "mason-receipt.json" } if fs.sync.file_exists(receipt_path) then |
