正在显示
2 个修改的文件
包含
4 行增加
和
5 行删除
| ... | @@ -117,8 +117,8 @@ function greeting () { | ... | @@ -117,8 +117,8 @@ function greeting () { |
| 117 | const cols = process.stdout.columns | 117 | const cols = process.stdout.columns |
| 118 | let text = '' | 118 | let text = '' |
| 119 | 119 | ||
| 120 | - if (cols > 85) text = 'lets-build' | 120 | + if (cols > 85) text = `let's-build` |
| 121 | - else if (cols > 60) text = 'lets-|build' | 121 | + else if (cols > 60) text = `let's-|build` |
| 122 | else text = false | 122 | else text = false |
| 123 | 123 | ||
| 124 | if (text && !isCI) { | 124 | if (text && !isCI) { |
| ... | @@ -127,6 +127,6 @@ function greeting () { | ... | @@ -127,6 +127,6 @@ function greeting () { |
| 127 | font: 'simple3d', | 127 | font: 'simple3d', |
| 128 | space: false | 128 | space: false |
| 129 | }) | 129 | }) |
| 130 | - } else console.log(chalk.yellow.bold('\n lets-build')) | 130 | + } else console.log(chalk.yellow.bold(`\n let's-build`)) |
| 131 | console.log() | 131 | console.log() |
| 132 | } | 132 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论