My CI pipeline is alive, and the lua linter found a synta error in a line that will almost never be called so it was able to slip under the radar. Cool.
Skyweave CI Rituals / Rite of Static Scrutiny (Luacheck) (push) Failing after 6s
Skyweave CI Rituals / Rite of Static Scrutiny (Luacheck) (push) Failing after 6s
This commit is contained in:
@@ -25,7 +25,7 @@ local function emergency_error(message, status_code)
|
||||
print(json_for_emergency.encode({ errCode = -999, errMsg = "Framework Panic: " .. message }))
|
||||
else
|
||||
-- Fallback to a very basic JSON-like string if no JSON encoder is available
|
||||
print('{"errCode": -999, "errMsg": "Framework Panic: ' .. message:gsub('[\\"]', '\%1') .. '"}')
|
||||
print('{"errCode": -999, "errMsg": "Framework Panic: ' .. message:gsub('([\\"])', '\\%1') .. '"}')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user