The initialize action won't create the same app twice, and other fixes
initialize stops if an Edge App with the same name already exists, and both actions stop with an error when package.json can't be parsed.
Fixes
- If
package.jsoncan't be parsed,initializeandupdatestop with an error instead of deploying the repo root.
Improvements
initializestops if an Edge App with the same name already exists in that environment, so running it twice can't create 2 apps. If it can't get the list of Edge Apps to check, it stops without creating anything.