mirror of
https://github.com/marktext/marktext.git
synced 2025-05-20 02:40:28 +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) {
|
if (options.followSymlinks) {
|
||||||
args.push('--follow')
|
args.push('--follow')
|
||||||
}
|
}
|
||||||
if (!options.includeHidden) {
|
if (options.includeHidden) {
|
||||||
args.push('--hidden')
|
args.push('--hidden')
|
||||||
}
|
}
|
||||||
if (options.noIgnore) {
|
if (options.noIgnore) {
|
||||||
|
@ -196,7 +196,7 @@ class RipgrepDirectorySearcher {
|
|||||||
if (options.maxFileSize) {
|
if (options.maxFileSize) {
|
||||||
args.push('--max-filesize', options.maxFileSize + '')
|
args.push('--max-filesize', options.maxFileSize + '')
|
||||||
}
|
}
|
||||||
if (!options.includeHidden) {
|
if (options.includeHidden) {
|
||||||
args.push('--hidden')
|
args.push('--hidden')
|
||||||
}
|
}
|
||||||
if (options.noIgnore) {
|
if (options.noIgnore) {
|
||||||
|
Loading…
Reference in New Issue
Block a user