Skip to content

Commit

Permalink
fix(install): add --dev flag if version is scm
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 14, 2024
1 parent 8e0ff07 commit 69921f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rocks/operations/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ helpers.install = function(rock_spec, progress_handle)
}
if version then
-- If specified version is dev then install the `scm-1` version of the rock
if version == "dev" then
if version == "dev" or version == "scm" then
table.insert(install_cmd, 2, "--dev")
else
table.insert(install_cmd, version)
Expand Down

0 comments on commit 69921f1

Please sign in to comment.