Skip to content

Commit 9ea7532

Browse files
committed
Take out duplication of cooking pasta
1 parent aef45b8 commit 9ea7532

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/week2/cooking-pasta/1-cooking-pasta-promise.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function main() {
6363
.then(cutTomatoes)
6464
.then(() => Promise.all([fryGarlic(), fryTomatoes(), heatWater()]))
6565
.then(() => Promise.all([mixSauce(), cookPasta()]))
66-
.then(cookPasta)
6766
.then(servePasta)
6867
.then(() => {
6968
clearInterval(timerId);

0 commit comments

Comments
 (0)