File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pub fn fd(opt: FdOpt) -> Result<UnboundedReceiver<File>> {
1616 . arg ( "--base-directory" )
1717 . arg ( & opt. cwd )
1818 . arg ( "--regex" )
19- . args ( if opt. hidden { [ "--hidden" , "--no-ignore" ] } else { [ "--no-hidden" , "--ignore" ] } )
19+ . arg ( if opt. hidden { "--hidden" } else { "--no-hidden" } )
2020 . args ( opt. args )
2121 . arg ( opt. subject )
2222 . kill_on_drop ( true )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub fn rg(opt: RgOpt) -> Result<UnboundedReceiver<File>> {
1515 let mut child = Command :: new ( "rg" )
1616 . current_dir ( & opt. cwd )
1717 . args ( [ "--color=never" , "--files-with-matches" , "--smart-case" ] )
18- . args ( if opt. hidden { [ "--hidden" , "--no-ignore" ] } else { [ "--no-hidden" , "--ignore" ] } )
18+ . arg ( if opt. hidden { "--hidden" } else { "--no-hidden" } )
1919 . args ( opt. args )
2020 . arg ( opt. subject )
2121 . kill_on_drop ( true )
You can’t perform that action at this time.
0 commit comments