summaryrefslogtreecommitdiff
path: root/script-beta/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-16 21:31:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-16 21:31:58 +0800
commit70ae6b13b620148e954dbdf9b5563fe04d4e52b2 (patch)
tree08c13b758b2e8aaee3a32f7a61fc7ca7103f5338 /script-beta/core
parentd65bc946566756b7627898118e467ae8bd234341 (diff)
downloadlua-language-server-70ae6b13b620148e954dbdf9b5563fe04d4e52b2.zip
整理代码
Diffstat (limited to 'script-beta/core')
-rw-r--r--script-beta/core/rename.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/core/rename.lua b/script-beta/core/rename.lua
index 581fd19a..4beb3bbb 100644
--- a/script-beta/core/rename.lua
+++ b/script-beta/core/rename.lua
@@ -11,8 +11,8 @@ local function askForcing(str)
if TEST then
return true
end
- if Forcing == false then
- return false
+ if Forcing ~= nil then
+ return Forcing
end
local version = files.globalVersion
-- TODO