summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
authorNeOzay <colpaert.benoit@gmail.com>2024-07-23 17:55:39 +0200
committerNeOzay <colpaert.benoit@gmail.com>2024-07-23 17:55:39 +0200
commit7582afd72f6d111f81b9c48caf43bafa80a1887a (patch)
treec1320ac327bb667a9a73a423a8c065621981839e /script/core
parent0b8102e3774b74db5557a494567fb0a9c5da9013 (diff)
downloadlua-language-server-7582afd72f6d111f81b9c48caf43bafa80a1887a.zip
update changelog
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/missing-fields.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/missing-fields.lua b/script/core/diagnostics/missing-fields.lua
index 746f7b00..b901461a 100644
--- a/script/core/diagnostics/missing-fields.lua
+++ b/script/core/diagnostics/missing-fields.lua
@@ -67,9 +67,9 @@ return function (uri, callback)
if #missedKeys == 0 then
return
- else
- warnings[#warnings+1] = lang.script('DIAG_MISSING_FIELDS', className, table.concat(missedKeys, ', '))
end
+
+ warnings[#warnings+1] = lang.script('DIAG_MISSING_FIELDS', className, table.concat(missedKeys, ', '))
end
if #warnings == 0 then