feat(cli): improve changelog log message
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import chalk from 'chalk';
|
||||
import logger from 'signale';
|
||||
import { ROOT } from '../common/constant';
|
||||
|
||||
logger.config({
|
||||
displayTimestamp: true
|
||||
@@ -33,4 +35,8 @@ export function getInteractiveLogger() {
|
||||
return interactive;
|
||||
}
|
||||
|
||||
export function simplifyPath(path: string) {
|
||||
return chalk.yellow(path.replace(ROOT, '.'));
|
||||
}
|
||||
|
||||
export { logger };
|
||||
|
||||
Reference in New Issue
Block a user