Skip to content

Commit 9c782a1

Browse files
Uanelagegoune
andauthored
Update lua/nvim-tree/actions/fs/clipboard.lua
Co-authored-by: gegoune <69750637+gegoune@users.noreply.github.com>
1 parent f8fa340 commit 9c782a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/nvim-tree/actions/fs/clipboard.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ end
181181
---@param node_or_nodes Node|Node[]
182182
---@return boolean
183183
function Clipboard:is_nodes_array(node_or_nodes)
184-
if type(node_or_nodes) == "table" and node_or_nodes.is and node_or_nodes:is(Node) then
184+
return type(node_or_nodes) == "table" and node_or_nodes.is and node_or_nodes:is(Node)
185185
return false
186186
end
187187
return true

0 commit comments

Comments
 (0)