19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
'use strict';
|
||
var chalk = require('chalk');
|
||
|
||
var main = {
|
||
info: chalk.blue('ℹ'),
|
||
success: chalk.green('✔'),
|
||
warning: chalk.yellow('⚠'),
|
||
error: chalk.red('✖')
|
||
};
|
||
|
||
var win = {
|
||
info: chalk.blue('i'),
|
||
success: chalk.green('√'),
|
||
warning: chalk.yellow('‼'),
|
||
error: chalk.red('×')
|
||
};
|
||
|
||
module.exports = process.platform === 'win32' ? win : main;
|