diff options
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r-- | script/core/diagnostics/assign-type-mismatch.lua | 3 | ||||
-rw-r--r-- | script/core/diagnostics/cast-local-type.lua | 3 | ||||
-rw-r--r-- | script/core/diagnostics/param-type-mismatch.lua | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/script/core/diagnostics/assign-type-mismatch.lua b/script/core/diagnostics/assign-type-mismatch.lua index 3953cbc4..8080b2ec 100644 --- a/script/core/diagnostics/assign-type-mismatch.lua +++ b/script/core/diagnostics/assign-type-mismatch.lua @@ -16,9 +16,6 @@ local checkTypes = { ---@async return function (uri, callback) - if not PREVIEW and not TEST then - return - end local state = files.getState(uri) if not state then return diff --git a/script/core/diagnostics/cast-local-type.lua b/script/core/diagnostics/cast-local-type.lua index cc4d4a0b..b7abcef6 100644 --- a/script/core/diagnostics/cast-local-type.lua +++ b/script/core/diagnostics/cast-local-type.lua @@ -6,9 +6,6 @@ local await = require 'await' ---@async return function (uri, callback) - if not PREVIEW and not TEST then - return - end local state = files.getState(uri) if not state then return diff --git a/script/core/diagnostics/param-type-mismatch.lua b/script/core/diagnostics/param-type-mismatch.lua index e4917456..a4390b50 100644 --- a/script/core/diagnostics/param-type-mismatch.lua +++ b/script/core/diagnostics/param-type-mismatch.lua @@ -6,9 +6,6 @@ local await = require 'await' ---@async return function (uri, callback) - if not PREVIEW and not TEST then - return - end local state = files.getState(uri) if not state then return |