Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/postcss/lib/warn-once.js
2024-01-10 22:39:31 +04: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)
}
}