Skip to content

Commit

Permalink
Get rid of useless warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rosik authored and zwirec committed Jun 13, 2019
1 parent f4e2b31 commit 1caae39
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/luarocks/cmd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,6 @@ function cmd.run_command(description, commands, external_namespace, ...)
end
end

if not lua_found then
util.warning("Could not find a Lua interpreter for version " ..
lua_version .. " in your PATH. " ..
"Modules may not install with the correct configurations. " ..
"You may want to specify to the path prefix to your build " ..
"of Lua " .. lua_version .. " using --lua-dir")
end
cfg.lua_found = lua_found

if detected.project_dir then
Expand Down

0 comments on commit 1caae39

Please sign in to comment.