diff options
| -rw-r--r-- | day2/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
