mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint: no-paren
This commit is contained in:
parent
669f412869
commit
aaeb90372e
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ const chalk = require('chalk');
|
|||
const datetime = require('../../common/datetime');
|
||||
|
||||
const log = (isLog, name, msg) => isLog && console.log(`${datetime()} -> ${name}: ${msg}`);
|
||||
const makeColor = (a, color) => chalk.rgb(...(color || stringToRGB(a)))(a);
|
||||
const makeColor = (a, color) => chalk.rgb(color || stringToRGB(a))(a);
|
||||
const getMessage = (e) => e.message || e;
|
||||
const getDescription = (e) => `${e.type}: ${e.description}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue