flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
20
BACK_BACK/node_modules/log-symbols/index.js
generated
vendored
Executable file
20
BACK_BACK/node_modules/log-symbols/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
'use strict';
|
||||
const chalk = require('chalk');
|
||||
|
||||
const isSupported = process.platform !== 'win32' || process.env.CI || process.env.TERM === 'xterm-256color';
|
||||
|
||||
const main = {
|
||||
info: chalk.blue('ℹ'),
|
||||
success: chalk.green('✔'),
|
||||
warning: chalk.yellow('⚠'),
|
||||
error: chalk.red('✖')
|
||||
};
|
||||
|
||||
const fallbacks = {
|
||||
info: chalk.blue('i'),
|
||||
success: chalk.green('√'),
|
||||
warning: chalk.yellow('‼'),
|
||||
error: chalk.red('×')
|
||||
};
|
||||
|
||||
module.exports = isSupported ? main : fallbacks;
|
||||
Loading…
Add table
Add a link
Reference in a new issue