From 8925901e322428df28238e00f251d2b8b1613a35 Mon Sep 17 00:00:00 2001 From: Pokey Rule <755842+pokey@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:46:26 +0000 Subject: [PATCH] more cleanup --- packages/cursorless-engine/src/asyncIteratorToList.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 packages/cursorless-engine/src/asyncIteratorToList.ts diff --git a/packages/cursorless-engine/src/asyncIteratorToList.ts b/packages/cursorless-engine/src/asyncIteratorToList.ts deleted file mode 100644 index f68321641a9..00000000000 --- a/packages/cursorless-engine/src/asyncIteratorToList.ts +++ /dev/null @@ -1,9 +0,0 @@ -export async function asyncIteratorToList( - iterator: AsyncIterable -): Promise { - const list: T[] = []; - for await (const item of iterator) { - list.push(item); - } - return list; -}