mirror of
https://github.com/flynx/colors.js.git
synced 2025-12-27 05:42:05 +00:00
Merge develop
This commit is contained in:
commit
32906a23ad
@ -13,5 +13,6 @@ node_js:
|
||||
- "0.8"
|
||||
script:
|
||||
- npm install
|
||||
- "./node_modules/.bin/eslint . "
|
||||
- npm install if-node-version
|
||||
- if-node-version ">=4" "./node_modules/.bin/eslint . "
|
||||
- npm test
|
||||
|
||||
@ -105,7 +105,7 @@ function applyStyle() {
|
||||
var args = Array.prototype.slice.call(arguments);
|
||||
|
||||
var str = args.map(function(arg) {
|
||||
return typeof arg === 'object' ? util.inspect(arg) : arg;
|
||||
return arg.constructor === String ? arg : util.inspect(arg);
|
||||
}).join(' ');
|
||||
|
||||
if (!colors.enabled || !str) {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "colors",
|
||||
"description": "get colors in your node.js console",
|
||||
"version": "1.2.3",
|
||||
"version": "1.2.4",
|
||||
"author": "Marak Squires",
|
||||
"homepage": "https://github.com/Marak/colors.js",
|
||||
"bugs": "https://github.com/Marak/colors.js/issues",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user