Skip to content

Commit

Permalink
Made message for copying to clipboard grey
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 4, 2017
1 parent f7d278a commit 7724742
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 @@ -2,7 +2,7 @@
const {copy} = require('copy-paste')
const ip = require('ip')
const pathType = require('path-type')
const {red} = require('chalk')
const {red, grey} = require('chalk')

const copyToClipboard = async text => {
try {
Expand Down Expand Up @@ -33,7 +33,7 @@ module.exports = async (server, current) => {
const copied = await copyToClipboard(url)

if (copied) {
message = `${message} [copied to clipboard]`
message = `${message} ${grey('[copied to clipboard]')}`
}

console.log(message)
Expand Down

0 comments on commit 7724742

Please sign in to comment.