feat(lib/log): changing the wrap of the log to include the indent parameter
This commit is contained in:
parent
5db4a7939d
commit
19babd28f1
2 changed files with 4 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ export const log = {
|
|||
search: (name: string) => {
|
||||
console.log(chalk.blueBright(`🔍 | Searching for ${name}`));
|
||||
},
|
||||
list: (name: string) => {
|
||||
console.log(chalk.cyanBright(`\t✅ | ${name}`));
|
||||
list: (indentation: number, name: string) => {
|
||||
console.log(chalk.cyanBright(`${'\t'.repeat(indentation)}✅ | ${name}`));
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue