Skip to content

Commit

Permalink
Fix issue with URLs and --find --/human combination
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 17, 2022
1 parent 6f9efaa commit 8bcf1d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Revision history for App-Rak

{{$NEXT}}
- Bump dependency on "rak" to get IO hiding fix for data fetched
from URLs.
- Fix issue with --find --/human spotted by Márton Polgár

0.2.7 2022-11-16T13:12:17+01:00
- Add support for --headers argument, which is a sub-option of
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"IO::Path::AutoDecompress:ver<0.0.2>:auth<zef:lizmat>",
"JSON::Fast::Hyper:ver<0.0.3>:auth<zef:lizmat>",
"META::constants:ver<0.0.3>:auth<zef:lizmat>",
"rak:ver<0.0.42>:auth<zef:lizmat>",
"rak:ver<0.0.43>:auth<zef:lizmat>",
"String::Utils:ver<0.0.15>:auth<zef:lizmat>"
],
"description": "21st century grep / find / ack / ag / rg on steroids",
Expand Down
4 changes: 2 additions & 2 deletions lib/App/Rak.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use highlighter:ver<0.0.18>:auth<zef:lizmat>; # columns highlighter matches Type
use IO::Path::AutoDecompress:ver<0.0.2>:auth<zef:lizmat>; # IOAD
use JSON::Fast::Hyper:ver<0.0.3>:auth<zef:lizmat>; # from-json to-json
use META::constants:ver<0.0.3>:auth<zef:lizmat> $?DISTRIBUTION;
use rak:ver<0.0.42>:auth<zef:lizmat>; # rak Rak
use rak:ver<0.0.43>:auth<zef:lizmat>; # rak Rak

use Backtrace::Files:ver<0.0.3>:auth<zef:lizmat> <
backtrace-files
Expand Down Expand Up @@ -860,7 +860,7 @@ my sub show-results(--> Nil) {
if $key eq '<find>' {
for @$value.sort(*.fc) {
sayer line-post-proc stringify($_);
last RESULT if ++$seen == $only-first;
last RESULT if ++$seen == $stop-after;
}
}
Expand Down

0 comments on commit 8bcf1d0

Please sign in to comment.