From efbd5902ba2d757e9a74342ae7a3dd290464850c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 26 Apr 2022 16:41:27 +0800 Subject: cleanup --- script/vm/ref.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/vm/ref.lua') diff --git a/script/vm/ref.lua b/script/vm/ref.lua index 714d3ccd..545c294a 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -2,7 +2,6 @@ local vm = require 'vm.vm' local util = require 'utility' local guide = require 'parser.guide' -local localID = require 'vm.local-id' local files = require 'files' local await = require 'await' local progress = require 'progress' @@ -241,7 +240,7 @@ end ---@param source parser.object ---@param pushResult fun(src: parser.object) local function searchByLocalID(source, pushResult) - local idSources = localID.getSources(source) + local idSources = vm.getLocalSources(source) if not idSources then return end -- cgit v1.2.3