diff options
author | fesily <fesil@foxmail.com> | 2024-01-10 16:51:27 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-01-10 16:51:27 +0800 |
commit | d023998316ff1ad32f9e247ae8746aabf4967ff9 (patch) | |
tree | 5dfc1077787b334fff1a323291e8dcc66bab91be /script | |
parent | 47e534a91d59666ad00595cdfef56af1e8906be2 (diff) | |
download | lua-language-server-d023998316ff1ad32f9e247ae8746aabf4967ff9.zip |
fix crash bug
Diffstat (limited to 'script')
-rw-r--r-- | script/files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua index b7a20e8b..8cc7a5ab 100644 --- a/script/files.lua +++ b/script/files.lua @@ -662,7 +662,7 @@ local function pluginOnTransformAst(uri, state) if not suc then return state end - state.ast = result + state.ast = result or state.ast return state end |