From 1d3698919f08ebd53ccdc76ba3eb301886eaddf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 18 Feb 2022 16:45:31 +0800 Subject: fix runtime error --- script/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/client.lua b/script/client.lua index 5095b772..f265cf9a 100644 --- a/script/client.lua +++ b/script/client.lua @@ -341,7 +341,7 @@ function m.setConfig(changes, onlyMemory) xpcall(function () local ws = require 'workspace' if #ws.folders == 0 then - tryModifyClient(finalChanges) + tryModifyClient(nil, finalChanges) return end tryModifyClientGlobal(finalChanges) -- cgit v1.2.3