Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function clTP(event, file, dir) {
let
cEvent = color.green_bt,
cFile = color.green;
console.log('\n\n【' + new Date().toLocaleDateString() + ' ' + new Date().toLocaleTimeString() + '】' +
cEvent(event + ': ') + cFile(file));
dir ? clTP(event + ' dir', dir) : '';
}