chec / seeder

Chec seeder tool, used in example stores to seed product data when creating them with the CLI's "demo store" command
https://commercejs.com/blog/getting-started-with-the-chec-cli/
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

have seeding job fail early if not able to finish an API call #10

Closed sdomagala closed 4 years ago

sdomagala commented 4 years ago

Related to #8. This should fail an execution of this seeding job at any point if error is returned from the API - I have added new env variable to be backward compatible.

@ScopeyNZ you mentioned in the issue that this task would require some refactor - I don't mind removing promise-queue altogether but I'm not that familiar with the feature to do some proper testing afterwards. I can create new PR for this later if you are willing to test it 😄

Cheers

ScopeyNZ commented 4 years ago

Thanks for this PR, but somebody else has contributed a PR for this issue 🙂