Skip to content

Commit

Permalink
[mdir] Remove trailing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
McSinyx committed Dec 7, 2019
1 parent fa6b4e6 commit 3bd7b59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions widgets/mdir_all.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 3bd7b59

Please sign in to comment.