Fix include hidden condition

This commit is contained in:
Felix Häusler 2019-11-06 15:55:36 +01:00
parent 84f223e243
commit fe8f921d4f
No known key found for this signature in database
GPG Key ID: 66C2E38862BBD18A
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {