🎨 Replace colors module with chalk module
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
const Project = require('./project.js')
|
||||
const chalk = require('chalk')
|
||||
|
||||
class Projects
|
||||
{
|
||||
@@ -26,7 +27,7 @@ class Projects
|
||||
|
||||
if(this.config.debug >= 1)
|
||||
{
|
||||
console.log('projects > socket'.green.bold + ' - ' + 'connection'.cyan + ' - ' + socket.id.cyan)
|
||||
console.log(`${chalk.green.bold('projects > socket')} - ${chalk.cyan('connection')} - ${chalk.cyan(socket.id)}`)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user