提交 d7ea94d1 编写于 作者: J Josh Goldberg

Allowed undefined options.filePattern

Forgot you folks aren't on strict types!
上级 0ed4d0ec
......@@ -80,7 +80,9 @@ export class QueryBuilder {
folderQueries,
usingSearchPaths: !!(searchPaths && searchPaths.length),
extraFileResources: options.extraFileResources,
filePattern: options.filePattern.trim(),
filePattern: options.filePattern
? options.filePattern.trim()
: options.filePattern,
excludePattern,
includePattern,
maxResults: options.maxResults,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册