bump-sh / cli

Bump.sh CLI - Deploy your OpenAPI & AsyncAPI documentations from your CI
https://bump.sh
MIT License
39 stars 3 forks source link

fix: deploy from a URL #499

Closed paulRbr closed 12 months ago

paulRbr commented 12 months ago

In 2.7.0 we introduced the “hub” deployment to deploy a whole directory. However we introduced a constrait on the input file parameter of the deploy command to be an object on the filesystem (due to the usage of fs.statSync function).

This commit makes sure to not crash if we pass a URL string and want to deploy from a URL (instead of a fs filepath).

paulRbr commented 12 months ago

Merci Thimy pour la review :heart: