mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
less compact windows progress
This commit is contained in:
parent
2ad24444f1
commit
686a54134d
@ -8,7 +8,7 @@ const sharedState = {}
|
|||||||
const BAR_LENGTH = 25
|
const BAR_LENGTH = 25
|
||||||
const IS_WINDOWS = /^win/.test(process.platform)
|
const IS_WINDOWS = /^win/.test(process.platform)
|
||||||
const BLOCK_CHAR = IS_WINDOWS ? ' ' : '█'
|
const BLOCK_CHAR = IS_WINDOWS ? ' ' : '█'
|
||||||
const BLOCK_CHAR2 = IS_WINDOWS ? '#' : '█'
|
const BLOCK_CHAR2 = IS_WINDOWS ? '=' : '█'
|
||||||
const ICON_CHAR = IS_WINDOWS ? ':' : '⠸'
|
const ICON_CHAR = IS_WINDOWS ? ':' : '⠸'
|
||||||
const BAR_BEFORE = IS_WINDOWS ? chalk.grey('[') : ''
|
const BAR_BEFORE = IS_WINDOWS ? chalk.grey('[') : ''
|
||||||
const BAR_AFTER = IS_WINDOWS ? chalk.grey(']') : ''
|
const BAR_AFTER = IS_WINDOWS ? chalk.grey(']') : ''
|
||||||
|
Loading…
Reference in New Issue
Block a user