www_hero/node_modules/postcss/lib/warn-once.js
sasha-astiadi 324d5960af hero_web
2024-05-03 06:39:20 +02:00

14 lines
256 B
JavaScript

/* eslint-disable no-console */
'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)
}
}