Browse Source

Better error message if alias is missing

master
Leo Lamprecht 8 years ago
parent
commit
84342092cd
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 3
      bin/now-deploy.js

3
bin/now-deploy.js

@ -565,7 +565,8 @@ const assignAlias = async (token, deployment) => {
// Throw an error if it doesn't
if (!related) {
error(`Alias "${autoAlias}" doesn't exist`)
const withID = type === 'uid' ? 'with ID ' : ''
error(`Alias ${withID}"${autoAlias}" doesn't exist`)
return
}

Loading…
Cancel
Save