Skip to content

Commit

Permalink
Sort failedProductInfo too
Browse files Browse the repository at this point in the history
  • Loading branch information
MengLinMaker committed Oct 16, 2023
1 parent 786bb8b commit ff1df7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webscrape/src/website/ProductInfoReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export class ProductInfoReport {
this.#report.productInfo.sort((a: ProductInfo, b: ProductInfo) => {
return a.unitPrice - b.unitPrice
})
this.#report.failedProductInfo.sort((a: ProductInfo, b: ProductInfo) => {
return a.unitPrice - b.unitPrice
})
return this
}

Expand Down

0 comments on commit ff1df7f

Please sign in to comment.