fix: regression on create (do not open node)

This commit is contained in:
kiyan
2021-02-22 21:47:51 +01:00
parent 0136801444
commit 491fd68d62

View File

@@ -54,7 +54,6 @@ function M.create(node)
if not ans or #ans == 0 then return end
if not ans:match('/') then
node.open = true
return create_file(add_into..ans)
end