From 6b5e834242bec8e00256a7c6e639395086d558b5 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 17 Apr 2024 12:25:42 -0300 Subject: normalize package names to lowercase like the CLI --- src/luarocks/queries.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/luarocks/queries.lua b/src/luarocks/queries.lua index 6df61296..0c8790fa 100644 --- a/src/luarocks/queries.lua +++ b/src/luarocks/queries.lua @@ -160,6 +160,8 @@ do return nil, "failed to extract dependency name from '"..depstr.."'" end + ns_name = ns_name:lower() + local constraints, err = parse_constraints(rest) if not constraints then return nil, err -- cgit v1.2.3-55-g6feb