Skip to content

Commit 751dad2

Browse files
committed
docs: 更新cli脚本输出样式
1 parent d91758f commit 751dad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spinner.add({
104104
spinner.add({
105105
title: '写入npm包',
106106
task: async (ctx, task) => {
107-
task.title += ` import { ${Object.keys(ctx.projects).join(', ')} } from 'foca-openapi'`;
107+
task.title += ` ${colors.gray(`import { ${Object.keys(ctx.projects).join(', ')} } from 'foca-openapi'`)}`;
108108
const root = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
109109
const jsContent = Object.values(ctx.projects)
110110
.map(({ js }) => js)

0 commit comments

Comments
 (0)