From 46054b550ece116324332e58f97434a4a50848ca Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 2 Dec 2020 13:17:03 +0200 Subject: Clean up 2.2 --- day2/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day2/index.ts b/day2/index.ts index 8b3199a..30dccd2 100644 --- a/day2/index.ts +++ b/day2/index.ts @@ -73,7 +73,7 @@ const day2: ExerciseModuleFunc = async (input: string) => { count() ).toPromise(); - return [await prom1, await prom2]; + return Promise.all([prom1, prom2]); } export default day2; -- cgit v1.3