Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Docs: fix chalk update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Jul 5, 2017
1 parent b7d6ffd commit cf9fb19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/modules/playground/index.js
Expand Up @@ -4,7 +4,7 @@ import messagesStyles from "./messages.styles"

const bullet = "›"

import colors from "chalk"
import stripColor from "strip-ansi"

function playground(opts) {
opts.options = opts.options || {}
Expand All @@ -29,7 +29,7 @@ function playground(opts) {
const messages = result.warnings()
if (messages.length) {
opts.messages.textContent =
`${ bullet } ${ colors.stripColor(
`${ bullet } ${ stripColor(
messages.map(message => message.toString())
).join("\n\n\n" + bullet + " ") }`
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -107,6 +107,7 @@
"react-dom": "^15.0.0-rc.1",
"react-svg-inline": "^1.0.1",
"rimraf": "^2.4.3",
"strip-ansi": "^4.0.0",
"style-loader": "^0.12.2",
"tape": "^4.2.0",
"to-slug-case": "^0.1.2",
Expand Down

0 comments on commit cf9fb19

Please sign in to comment.