| Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/cli.js
|
| diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/cli.js b/node_modules/vulcanize/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/cli.js
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..0617971e6fdbefb8ab6e7c0604dca1e1cd016852
|
| --- /dev/null
|
| +++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/cli.js
|
| @@ -0,0 +1,28 @@
|
| +#!/usr/bin/env node
|
| +'use strict';
|
| +var pkg = require('./package.json');
|
| +var supportsColor = require('./');
|
| +var input = process.argv[2];
|
| +
|
| +function help() {
|
| + console.log([
|
| + pkg.description,
|
| + '',
|
| + 'Usage',
|
| + ' $ supports-color',
|
| + '',
|
| + 'Exits with code 0 if color is supported and 1 if not'
|
| + ].join('\n'));
|
| +}
|
| +
|
| +if (!input || process.argv.indexOf('--help') !== -1) {
|
| + help();
|
| + return;
|
| +}
|
| +
|
| +if (process.argv.indexOf('--version') !== -1) {
|
| + console.log(pkg.version);
|
| + return;
|
| +}
|
| +
|
| +process.exit(supportsColor ? 0 : 1);
|
|
|