diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2020-12-02 13:17:03 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2020-12-02 13:17:03 +0200 |
| commit | 46054b550ece116324332e58f97434a4a50848ca (patch) | |
| tree | b43775268d0925638d53297095f265fc002c1bcd | |
| parent | 5045284462c8e67a5430367c5c92398f0ed7e5fb (diff) | |
Clean up 2.2
| -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; |
