'use strict';

var warning = require('../../vc-util/warning.js');

function lintWarning(message, info) {
  const { path, parentSelectors } = info;
  warning.warningOnce(
    false,
    `[CSS-in-JS] ${path ? `Error in '${path}': ` : ""}${message}${parentSelectors.length ? ` Selector info: ${parentSelectors.join(" -> ")}` : ""}`
  );
}

exports.lintWarning = lintWarning;
//# sourceMappingURL=utils.js.map
