fix: transform_path nil input (#1576)
This commit is contained in:
@@ -230,6 +230,9 @@ local calc_result_length = function(truncate_len)
|
|||||||
end
|
end
|
||||||
|
|
||||||
utils.transform_path = function(opts, path)
|
utils.transform_path = function(opts, path)
|
||||||
|
if path == nil then
|
||||||
|
return
|
||||||
|
end
|
||||||
if is_uri(path) then
|
if is_uri(path) then
|
||||||
return path
|
return path
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user