shift73k/assets_old/node_modules/postcss/lib/warn-once.js

13 lines
224 B
JavaScript
Raw Normal View History

'use strict'
let printed = {}
module.exports = function warnOnce(message) {
if (printed[message]) return
printed[message] = true
if (typeof console !== 'undefined' && console.warn) {
console.warn(message)
}
}