diff options
| author | William Boman <william@redwill.se> | 2024-01-06 09:02:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-06 09:02:01 +0100 |
| commit | 6c685476df4f202e371bdd3d726729d6f3f8b9f0 (patch) | |
| tree | 53c96e8418f2669bdd5d345325d8542107d03ea3 /lua/mason-core/installer/context.lua | |
| parent | fix(cargo): don't attempt to fetch versions when version targets commit SHA (... (diff) | |
| download | mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar.gz mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar.bz2 mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar.lz mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar.xz mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.tar.zst mason-6c685476df4f202e371bdd3d726729d6f3f8b9f0.zip | |
feat: add support for openvsx sources (#1589)
Diffstat (limited to 'lua/mason-core/installer/context.lua')
| -rw-r--r-- | lua/mason-core/installer/context.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason-core/installer/context.lua b/lua/mason-core/installer/context.lua index b12b540f..7637209f 100644 --- a/lua/mason-core/installer/context.lua +++ b/lua/mason-core/installer/context.lua @@ -241,7 +241,7 @@ function InstallContext:promote_cwd() end ---@param rel_path string The relative path from the current working directory to change cwd to. Will only restore to the initial cwd after execution of fn (if provided). ----@param fn async (fun())? The function to run in the context of the given path. +---@param fn async (fun(): any)? The function to run in the context of the given path. function InstallContext:chdir(rel_path, fn) local old_cwd = self.cwd:get() self.cwd:set(path.concat { old_cwd, rel_path }) |
