fix: GoPkgOutline, should reset pkg_info data before rerender (#198)

* fix: use strict test function name while debugging

* fix: use strict test function name while debugging

* Revert "fix: use strict test function name while debugging"

This reverts commit f47dd66c50.

* fix: GoPkgOutline, should reset pkg_info data before rerender

Co-authored-by: zhuyajie <930664@qq.com>
This commit is contained in:
Yajie Zhu 2022-08-07 21:18:26 +08:00 committed by GitHub
parent 6c793a1c6f
commit 5ad5a53708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ local function handle_data_out(_, data, ev)
if not data then
return
end
pkg_info = {}
local types = { "CONSTANTS", "FUNCTIONS", "TYPES", "VARIABLES" }
for i, val in ipairs(data) do
-- first strip the filename