aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/show.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/show.lua b/src/luarocks/show.lua
index 68c1a738..dd84e794 100644
--- a/src/luarocks/show.lua
+++ b/src/luarocks/show.lua
@@ -86,7 +86,7 @@ function run(...)
86 end 86 end
87 87
88 if not next(results) then -- 88 if not next(results) then --
89 return nil,"cannot find package "..name.." "..version.."\nUse 'list' to find installed rocks." 89 return nil,"cannot find package "..name.." "..(version or "").."\nUse 'list' to find installed rocks."
90 end 90 end
91 91
92 version = nil 92 version = nil