Skip to content

Commit

Permalink
Show correct ports when switching to an open one
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 4, 2017
1 parent ce1dbb6 commit c6a0e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/listening.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module.exports = async (server, inUse) => {
let message = chalk.green('Micro is running!')

if (inUse) {
message += ' ' + chalk.red(`(on port ${inUse.old},` +
` because ${inUse.open} is already in use)`)
message += ' ' + chalk.red(`(on port ${inUse.open},` +
` because ${inUse.old} is already in use)`)
}

message += '\n\n'
Expand Down

0 comments on commit c6a0e99

Please sign in to comment.