mirror of
https://github.com/typicode/json-server.git
synced 2025-07-30 13:42:11 +08:00
Rename .grey to .gray
This commit is contained in:
@ -38,11 +38,11 @@ function start(object, filename) {
|
|||||||
var hostname = argv.host === '0.0.0.0' ? 'localhost' : argv.host
|
var hostname = argv.host === '0.0.0.0' ? 'localhost' : argv.host
|
||||||
|
|
||||||
for (var prop in object) {
|
for (var prop in object) {
|
||||||
console.log(chalk.grey(' http://' + hostname + ':' + port + '/') + chalk.cyan(prop))
|
console.log(chalk.gray(' http://' + hostname + ':' + port + '/') + chalk.cyan(prop))
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
'\nYou can now go to ' + chalk.grey('http://' + hostname + ':' + port + '/\n')
|
'\nYou can now go to ' + chalk.gray('http://' + hostname + ':' + port + '/\n')
|
||||||
)
|
)
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
|
Reference in New Issue
Block a user