summaryrefslogtreecommitdiff
path: root/script/core/command/jsonToLua.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/command/jsonToLua.lua')
-rw-r--r--script/core/command/jsonToLua.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/jsonToLua.lua b/script/core/command/jsonToLua.lua
index 6b5613b9..c4f001ff 100644
--- a/script/core/command/jsonToLua.lua
+++ b/script/core/command/jsonToLua.lua
@@ -24,7 +24,7 @@ return function (data)
label = 'json to lua',
edit = {
changes = {
- [files.getOriginUri(data.uri)] = {
+ [data.uri] = {
{
range = files.range(data.uri, data.start, data.finish),
newText = luaStr,