The lookup function would reject the promise if the site didn't already exist, and people would get a 404 error when trying to deploy to a new netlify site.
This change makes sure lookup returns null instead of rejecting the promise and makes ship path/ -to netlify work for new sites...
The lookup function would reject the promise if the site didn't already exist, and people would get a 404 error when trying to deploy to a new netlify site.
This change makes sure lookup returns null instead of rejecting the promise and makes
ship path/ -to netlify
work for new sites...