* handle API errors when fetching user
* handle API errors in some of the core Now methods
* add ability for `handleError` to report full stack trace in debug mode
* make `responseError` utility reusable
* handle top-level promise errors in entry functions of all commands
* allow for logging in when user has a bad token
* fix CI
* Fix reference error
* Improve message
* Fix typo
* Prettify
* ask user to reinstall with --unsafe-perm on EACCES
* webpack overrides process.env totally. removed DefinePlugin
* Cleaned up the code a little
* Missing import comments added
This fixes a bug where, when pasting a credit card, it would print the
number correctly, but also append too much placeholder. When hitting
enter, backspace, or another number, it would begin printing (and
formatting) `undefined`. This adds a special case where the CC will be
formatted to account for spaces when comparing against the length of the
existing value or placeholder.
* updated help message for `now switch` to reference the argument for the team as the slug instead of the id
* try ssh if https does not work
* add editor settings to .gitignore, update yarn.lock
* reverting change to teams in separate pr
* Removed unused ignored prop
Retrying multiple times on cert creation doesn't usually help but
makes the user wait for a longer time for nothing. Usually there
is either a configuration error that must be solved or the DNS
change hasn't propagated yet, which will usually take longer than
the retry window.
* Ask for missing environment variables
* Prettified
* Use `info` helper
* Only apply fields if `now` is available
* Don't log
* Isolate our Inquirer patch
* Patch Inquirer before asking for the env fields
* Don't ask for env vars that are already defined