Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/postcss/lib/warn-once.js

14 lines
256 B
JavaScript
Raw Permalink Normal View History

2024-01-10 16:11:49 +04:00
/* 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)
}
}