Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoushik0 committed Oct 4, 2018
1 parent f655efa commit 0380177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { ISearchPathsResult, QueryBuilder } from 'vs/workbench/parts/search/comm
import { TestContextService, TestEnvironmentService } from 'vs/workbench/test/workbenchTestServices';

const DEFAULT_EDITOR_CONFIG = {};
const DEFAULT_USER_CONFIG = { useRipgrep: true, useIgnoreFiles: true };
const DEFAULT_QUERY_PROPS = { useRipgrep: true, disregardIgnoreFiles: false };
const DEFAULT_USER_CONFIG = { useRipgrep: true, useIgnoreFiles: true, useGlobalIgnoreFiles: true };
const DEFAULT_QUERY_PROPS = { useRipgrep: true, disregardIgnoreFiles: false, disregardGlobalIgnoreFiles: false };

suite('QueryBuilder', () => {
const PATTERN_INFO: IPatternInfo = { pattern: 'a' };
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/services/search/node/ripgrepTextSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ function getRgArgs(config: IRawSearch) {
}

args.push('--no-config');
if (!config.disregardGlobalIgnoreFiles) {
if (config.disregardGlobalIgnoreFiles) {
args.push('--no-ignore-global');
}

Expand Down

0 comments on commit 0380177

Please sign in to comment.