iopipe / serverless-plugin-iopipe

Automatically wrap your serverless framework functions with IOpipe
https://www.iopipe.com
Apache License 2.0
40 stars 8 forks source link

Fix auto-upgrade #32

Closed coreylight closed 7 years ago

coreylight commented 7 years ago

Resolves #30 When user package.json files are incomplete, such as a missing license field, the npm outdated or yarn outdated command outputs an exit code of 1, with warnings. This PR reorganizes the upgrade command to be more readable by breaking it into two parts, the outdated and upgrade functions. It also reworks error detection during the process, allowing the auto-install to work when package.json files throw warnings.