lib/markdo/query_command.rb in markdo-0.1.6 vs lib/markdo/query_command.rb in markdo-0.1.7

- old
+ new

@@ -7,10 +7,11 @@ matches = Dir. glob(markdown_glob). map { |path| File.readlines(path, encoding: 'UTF-8') }. flatten. - grep(regexp) + grep(regexp). + reject { |line| line.match(/[-*] \[x\]/) } @stdout.puts(matches) end protected