summaryrefslogtreecommitdiff
path: root/script/core/command/solve.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/command/solve.lua')
-rw-r--r--script/core/command/solve.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/solve.lua b/script/core/command/solve.lua
index 8065aa9d..98ceaa58 100644
--- a/script/core/command/solve.lua
+++ b/script/core/command/solve.lua
@@ -32,7 +32,7 @@ return function (data)
local uri = data.uri
local text = files.getText(uri)
local state = files.getState(uri)
- if not state then
+ if not state or not text then
return
end