Skip to content

Commit

Permalink
feat: use nerd font icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Sep 15, 2022
1 parent 34361be commit 4e8e798
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Expand Up @@ -70,7 +70,9 @@ function createOptionPathTransformer({
}, 0)
return `${chalk.bold.redBright(
`${String(errsCountInPath).padStart(errsCountNumLength)} errors`
)} ${colorFn(optionPathLastUnit + (optionPathIsFilePath ? '' : '/'))}`
)} ${colorFn(
`${optionPathIsFilePath ? '\uF0F6' : '\uF413'} ${optionPathLastUnit}`
)}`
}
}
function showSelectFilePrompt(ctx: Context) {
Expand Down

0 comments on commit 4e8e798

Please sign in to comment.