From 2dcb58c996877d48a5af94af8f4e3768e5f2e1b2 Mon Sep 17 00:00:00 2001 From: grorp Date: Wed, 1 Jan 2025 21:10:14 +0100 Subject: [PATCH] Fix Luacheck failure PLATFORM is set by ScriptApiBase::ScriptApiBase, so should actually be safe everywhere --- .luacheckrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 3a4667b4a..82c10fcd3 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -10,6 +10,7 @@ ignore = { read_globals = { "ItemStack", "INIT", + "PLATFORM", "DIR_DELIM", "dump", "dump2", "fgettext", "fgettext_ne", @@ -75,10 +76,6 @@ files["builtin/mainmenu"] = { globals = { "gamedata", }, - - read_globals = { - "PLATFORM", - }, } files["builtin/common/tests"] = {