Skip to content

Commit

Permalink
Only consider mise installed if callable by mstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierke committed Jan 29, 2024
1 parent a4c32a0 commit 0099620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mstrap/supports/mise_installer.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module MStrap
end

def installed?
File.exists?(MISE_INSTALL_PATH)
File.exists?(MISE_INSTALL_PATH) && (`command -v mise` && $?.success?)
end

private def fetch_installer!
Expand Down

0 comments on commit 0099620

Please sign in to comment.