Skip to content

Commit 9629548

Browse files
committed
looks like something wrong
1 parent 4906dbc commit 9629548

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/commands/delete.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ function deleteList(items: string[], workspaceFolder: string): Promise<any> {
1616
const api = new AtelierAPI(workspaceFolder);
1717
return Promise.all(items.map((item) => api.deleteDoc(item))).then((files) => {
1818
outputChannel.appendLine(`Deleted items: ${files.filter((el) => el.result).length}`);
19-
const failed = files.filter((el) => !el.result).map((el) => `${el.file} - ${el.error}`);
20-
if (files.find((el) => !el.result)) {
21-
outputChannel.appendLine(`Items failed to delete: \n${failed.join("\n")}`);
22-
}
2319
});
2420
}
2521

0 commit comments

Comments
 (0)