aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-26 17:07:55 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-26 17:07:55 -0200
commitdb46b2203d2348c3b470605430cdb183466e259e (patch)
treee8a54c233a82378ef376c2c10ce9c3413875d725
parent1a1c4072bfab69e5fbd34f1d9ea1f80b431e9c0a (diff)
downloadluarocks-db46b2203d2348c3b470605430cdb183466e259e.tar.gz
luarocks-db46b2203d2348c3b470605430cdb183466e259e.tar.bz2
luarocks-db46b2203d2348c3b470605430cdb183466e259e.zip
Apply change suggested by @siffiejoe.
Thanks @catwell for catching this! Closes #295.
-rw-r--r--src/luarocks/remove.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/remove.lua b/src/luarocks/remove.lua
index e1cd44f0..5d419817 100644
--- a/src/luarocks/remove.lua
+++ b/src/luarocks/remove.lua
@@ -159,7 +159,7 @@ function remove.run(...)
159 local results = {} 159 local results = {}
160 search.manifest_search(results, cfg.rocks_dir, search.make_query(name, version)) 160 search.manifest_search(results, cfg.rocks_dir, search.make_query(name, version))
161 if not results[name] then 161 if not results[name] then
162 return nil, "Could not find rock '"..name..(version and " "..version or "").."' in "..cfg.root_dir 162 return nil, "Could not find rock '"..name..(version and " "..version or "").."' in "..path.rocks_tree_to_string(cfg.root_dir)
163 end 163 end
164 164
165 return remove.remove_search_results(results, name, deps_mode, flags["force"]) 165 return remove.remove_search_results(results, name, deps_mode, flags["force"])