diff options
| author | Otto Ahoniemi <otto@ottoahoniemi.fi> | 2022-11-09 16:58:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-09 15:58:33 +0100 |
| commit | a1f1fb070fb5acb9c535f0300b77d22561201e1b (patch) | |
| tree | a54c6b651466a4f49f7d55b15f4df636c8a6909a /lua | |
| parent | fix(apex-language-server): update jar file path (#652) (diff) | |
| download | mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar.gz mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar.bz2 mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar.lz mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar.xz mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.tar.zst mason-a1f1fb070fb5acb9c535f0300b77d22561201e1b.zip | |
fix(rome): drop default version pin (#649)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/mason-registry/rome/init.lua | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lua/mason-registry/rome/init.lua b/lua/mason-registry/rome/init.lua index 9e2747af..66faf621 100644 --- a/lua/mason-registry/rome/init.lua +++ b/lua/mason-registry/rome/init.lua @@ -1,6 +1,5 @@ local Pkg = require "mason-core.package" local npm = require "mason-core.managers.npm" -local Optional = require "mason-core.optional" return Pkg.new { name = "rome", @@ -8,12 +7,5 @@ return Pkg.new { homepage = "https://rome.tools", languages = { Pkg.Lang.TypeScript, Pkg.Lang.JavaScript }, categories = { Pkg.Cat.LSP, Pkg.Cat.Linter }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - ctx.requested_version = ctx.requested_version:or_(function() - return Optional.of "10.0.7-nightly.2021.7.27" - end) - npm.install({ "rome", bin = { "rome" } }).with_receipt() - end, + install = npm.packages { "rome", bin = { "rome" } }, } |
