提交 03801770 编写于 作者: P pkoushik

fix #59364 - Review #3

上级 f655efaa
......@@ -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' };
......
......@@ -511,7 +511,7 @@ function getRgArgs(config: IRawSearch) {
}
args.push('--no-config');
if (!config.disregardGlobalIgnoreFiles) {
if (config.disregardGlobalIgnoreFiles) {
args.push('--no-ignore-global');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册