Skip to content

Commit fd07e3a

Browse files
committed
fix: Update utils and Debugging UI
1 parent 4d968fd commit fd07e3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lua/devsecinspect/ui/panel.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ end
107107

108108
function Debugging.on_resize()
109109
if Debugging.panel ~= nil then
110+
local config = require("devsecinspect.config").config
110111
Debugging.panel:update_layout({
111112
size = {
112113
width = config.debugging.panel.size.width,

lua/devsecinspect/utils/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function M.match_globs(filepath, filters)
8686
end
8787

8888
for _, filter in ipairs(filters) do
89-
if string.match(filepath, filter) then
89+
if string.find(filepath, filter) then
9090
return true
9191
end
9292
end

0 commit comments

Comments
 (0)