Browse Source

[CI] allow `luarocks config --user-config` to fail

Andy Li 6 years ago
parent
commit
77ec658d9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/runci/targets/Lua.hx

+ 1 - 1
tests/runci/targets/Lua.hx

@@ -60,7 +60,7 @@ class Lua {
 			runCommand("luarocks", ["config", "--lua-libdir"]);
 			runCommand("luarocks", ["config", "--lua-ver"]);
 			runCommand("luarocks", ["config", "--system-config"]);
-			runCommand("luarocks", ["config", "--user-config"]);
+			runCommand("luarocks", ["config", "--user-config"], false, true); //can fail when there is no user config
 			runCommand("luarocks", ["config", "--rock-trees"]);
 
 			installLuaVersionDependencies(lv);