Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
wrap-ansi
/
node_modules
/
strip-ansi
/
index.js
blob: 099480fbfc54cb238d6d190fda653408fbf1ef7f [
file
] [
log
] [
blame
]
'use strict'
;
var
ansiRegex
=
require
(
'ansi-regex'
)();
module
.
exports
=
function
(
str
)
{
return
typeof
str
===
'string'
?
str
.
replace
(
ansiRegex
,
''
)
:
str
;
};