提交 df471692 编写于 作者: R Rob Lourens

Fix #63049

上级 b7f82026
......@@ -431,6 +431,8 @@ function patternListToIExpression(patterns: string[]): glob.IExpression {
function splitGlobPattern(pattern: string): string[] {
return glob.splitGlobAware(pattern, ',')
.map(s => s.trim())
.map(s => strings.rtrim(s, '/'))
.map(s => strings.rtrim(s, '\\'))
.filter(s => !!s.length);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册