new status view
This commit is contained in:
@@ -55,16 +55,16 @@ module.exports = {
|
||||
const status = (status: string) => {
|
||||
switch(status) {
|
||||
case 'NO_STATUS':
|
||||
return ` (❓) `;
|
||||
return `(${chalk.red.bold('?')})`;
|
||||
case 'UPDATE_FAILED':
|
||||
case 'CREATE_FAILED':
|
||||
return ` (💔) `;
|
||||
return `(${chalk.red.bold('FAILED')})`;
|
||||
case 'UPDATE_IN_PROGRESS':
|
||||
case 'CREATE_IN_PROGRESS':
|
||||
return ` (🟡) `;
|
||||
return `(${chalk.yellow.bold('IN PROGRESS')})`;
|
||||
case 'UPDATE_COMPLETE':
|
||||
case 'CREATE_COMPLETE':
|
||||
return ` (🟢) `;
|
||||
return `(${chalk.greenBright('OK')})`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user