This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-req's: | |
Python 3 | |
A project that is git initialized | |
Windozs setup: | |
pip install pre-commit | |
MAC OS setup for pre-commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const productApiResponses = await Promise.all( | |
itemNumbers.map(async (itemNumber: string) => { | |
try { | |
const productAPIResponse = await productService( | |
itemNumber, | |
productConfig, | |
locale | |
); | |
if (!productAPIResponse) return null; |
OlderNewer