提交 7094bb1b 编写于 作者: C cleidigh 提交者: Johannes Rieken

Fix checkIgnore Promise/resolve bug

上级 5676c71a
......@@ -719,7 +719,7 @@ export class Repository implements Disposable {
if (filePaths.length === 0) {
// nothing left
return Promise.resolve(new Set<string>());
return resolve(new Set<string>());
}
const child = this.repository.stream(['check-ignore', ...filePaths]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册