[mdir] Remove trailing semicolon

This commit is contained in:
Nguyễn Gia Phong 2019-12-07 09:37:59 +07:00
parent fa6b4e68c8
commit 3bd7b59b2c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
# Changes in 2.4.1 (WIP)
Fixed:
- [mdir] Remove trailing semicolon at the end of command
# Changes in 2.4.0
IMPORTANT:

View File

@ -40,11 +40,11 @@ function mdir_all.async(format, warg, callback)
local new, cur = 0, 0
spawn.with_line_callback(
"find" .. starting_points .. " -type f -regex '.*/cur/.*2,[^S]*$';",
"find" .. starting_points .. " -type f -regex '.*/cur/.*2,[^S]*$'",
{ stdout = function (filename) cur = cur + 1 end,
output_done = function ()
spawn.with_line_callback(
"find" .. starting_points .. " -type f -path '*/new/*';",
"find" .. starting_points .. " -type f -path '*/new/*'",
{ stdout = function (filename) new = new + 1 end,
output_done = function () callback{ new, cur } end })
end })