Skip to content

Commit

Permalink
fix color support example
Browse files Browse the repository at this point in the history
  • Loading branch information
doowb committed Oct 23, 2018
1 parent 57ad5da commit 97fe3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .verb.md
Expand Up @@ -82,7 +82,7 @@ const c = require('ansi-colors');
c.enabled = false;

// or use a library to automatically detect support
c.enabled = require('color-support').stdout;
c.enabled = require('color-support').hasBasic;

console.log(c.red('I will only be colored red if the terminal supports colors'));
```
Expand Down

0 comments on commit 97fe3bc

Please sign in to comment.