Skip to content

Commit

Permalink
Update lua/dap/ext/vscode.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger authored Aug 9, 2024
1 parent f5443c9 commit 4055f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dap/ext/vscode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function M._load_json(jsonstr)
if not ok then
error("Error parsing launch.json: " .. data)
end

assert(type(data) == "table", "launch.json must contain a JSON object")
local inputs = create_inputs(data.inputs or {})
local has_inputs = next(inputs) ~= nil

Expand Down

0 comments on commit 4055f12

Please sign in to comment.