mirror of
https://github.com/marktext/marktext.git
synced 2025-05-19 02:10:34 +08:00
Fix include hidden condition
This commit is contained in:
parent
84f223e243
commit
fe8f921d4f
@ -9,7 +9,7 @@ class FileSearcher extends RipgrepDirectorySearcher {
|
||||
if (options.followSymlinks) {
|
||||
args.push('--follow')
|
||||
}
|
||||
if (!options.includeHidden) {
|
||||
if (options.includeHidden) {
|
||||
args.push('--hidden')
|
||||
}
|
||||
if (options.noIgnore) {
|
||||
|
@ -196,7 +196,7 @@ class RipgrepDirectorySearcher {
|
||||
if (options.maxFileSize) {
|
||||
args.push('--max-filesize', options.maxFileSize + '')
|
||||
}
|
||||
if (!options.includeHidden) {
|
||||
if (options.includeHidden) {
|
||||
args.push('--hidden')
|
||||
}
|
||||
if (options.noIgnore) {
|
||||
|
Loading…
Reference in New Issue
Block a user