1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-04 20:57:15 -05:00
notes/node_modules/stylelint/lib/utils/blurComments.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

8 lines
241 B
JavaScript

/* @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)
}