Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
blurComments.js
blob: a37fe476af5be59ab07356b8632d0b70270a7d79 [
file
] [
log
] [
blame
]
/* @flow */
"use strict"
;
module
.
exports
=
function
(
source
/*: string*/
)
/*: string*/
{
const
blurChar
/*: string*/
=
arguments
.
length
>
1
&&
arguments
[
1
]
!==
undefined
?
arguments
[
1
]
:
"`"
;
return
source
.
replace
(
/\/\*.*\*\//
g
,
blurChar
);
};