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);
};