diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-16 21:31:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-16 21:31:58 +0800 |
commit | 70ae6b13b620148e954dbdf9b5563fe04d4e52b2 (patch) | |
tree | 08c13b758b2e8aaee3a32f7a61fc7ca7103f5338 /script-beta/core | |
parent | d65bc946566756b7627898118e467ae8bd234341 (diff) | |
download | lua-language-server-70ae6b13b620148e954dbdf9b5563fe04d4e52b2.zip |
整理代码
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/rename.lua | 4 |
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 |