source: trip-planner-front/node_modules/postcss/lib/warn-once.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 224 bytes
Line 
1'use strict'
2
3let printed = {}
4
5module.exports = function warnOnce(message) {
6 if (printed[message]) return
7 printed[message] = true
8
9 if (typeof console !== 'undefined' && console.warn) {
10 console.warn(message)
11 }
12}
Note: See TracBrowser for help on using the repository browser.