File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ # 0.10.5 (2024-01-16)
2
+
3
+ - return the same exit status as rg
4
+
1
5
# 0.10.4 (2024-01-16)
2
6
3
7
- add ` --rga-no-prefix-filenames ` flag (https://github.com/phiresky/ripgrep-all/issues/154 )
4
8
5
- # 0.10.3 (2024-01-16 )
9
+ # 0.10.3 (2024-01-15 )
6
10
7
11
This was originally supposed to be version 1.0.0, but I don't feel confident enough in the stability to call it that.
8
12
Original file line number Diff line number Diff line change @@ -133,9 +133,12 @@ fn main() -> anyhow::Result<()> {
133
133
. spawn ( )
134
134
. map_err ( |e| map_exe_error ( e, "rg" , "Please make sure you have ripgrep installed." ) ) ?;
135
135
136
- child. wait ( ) ?;
136
+ let result = child. wait ( ) ?;
137
137
138
138
log:: debug!( "running rg took {}" , print_dur( before) ) ;
139
+ if !result. success ( ) {
140
+ std:: process:: exit ( result. code ( ) . unwrap_or ( 1 ) ) ;
141
+ }
139
142
Ok ( ( ) )
140
143
}
141
144
You can’t perform that action at this time.
0 commit comments