Jason Perkins  committed bca9d2f

Bug #266 Attempt to index nil global _ACTION

  • Participants
  • Parent commits 3480977
  • Branches default

Comments (0)

Files changed (1)

File src/_premake_main.lua

 		-- The "next-gen" actions have now replaced their deprecated counterparts. 
 		-- Provide a warning for a little while before I remove them entirely.
-		if _ACTION:endswith("ng") then
+		if _ACTION and _ACTION:endswith("ng") then
 			print(string.format("** Warning: '%s' has been deprecated; use '%s' instead", _ACTION, _ACTION:sub(1, -3)))