Browse Source
Better message for opening latest deployment
master
Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
3 additions and
1 deletions
-
bin/now-browse.js
|
|
@ -114,7 +114,9 @@ async function browse(token) { |
|
|
|
|
|
|
|
try { |
|
|
|
const url = `https://${latestDeploy.url}` |
|
|
|
console.log(`opening your latest deployment url for ${chalk.bold(pkg.name)} in browser - ${chalk.underline(url)}`) |
|
|
|
|
|
|
|
console.log(`Opening the latest deployment for ${chalk.bold(pkg.name)}...`) |
|
|
|
console.log(`Here's the URL: ${chalk.underline(url)}`) |
|
|
|
|
|
|
|
opn(url) |
|
|
|
process.exit(0) |
|
|
|