Skip to content

Commit

Permalink
Should fix run not wokring if version specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamharrison committed Jan 10, 2025
1 parent 7896dcf commit 39dc85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lpm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@ function lpm.lite_xl_run(...)
system_bottle:invalidate_cache()
repositories[1].explicit = true
elseif v:find("^%d+") or v == "system" or v == "primary" then
assert(version == "system", "cannot specify multiple versions")
assert(version == "primary", "cannot specify multiple versions")
version, version_idx = v, i
elseif i == 1 then
bottle = lpm.get_bottle(v)
Expand Down

0 comments on commit 39dc85e

Please sign in to comment.