mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
let findfiles2new use an array of includes/excludes (#226103)
* let findfiles2new use an array of includes/excludes
This commit is contained in:
@@ -619,6 +619,7 @@ suite('vscode API - workspace', () => {
|
||||
|
||||
test('findFiles2, exclude', () => {
|
||||
return vscode.workspace.findFiles2('**/image.png', { exclude: '**/sub/**' }).then((res) => {
|
||||
res.forEach(r => console.log(r.toString()));
|
||||
assert.strictEqual(res.length, 1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user