@donmahallem/lerna2codecov 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -7255,7 +7255,7 @@ function getChalk(options) {
7255
7255
  }
7256
7256
 
7257
7257
  function highlight(code, options = {}) {
7258
- if (shouldHighlight(options)) {
7258
+ if (code !== "" && shouldHighlight(options)) {
7259
7259
  const chalk = getChalk(options);
7260
7260
  const defs = getDefs$1(chalk);
7261
7261
  return highlightTokens(defs, code);
@@ -7727,7 +7727,9 @@ const processOk = function (process) {
7727
7727
  // some kind of non-node environment, just no-op
7728
7728
  /* istanbul ignore if */
7729
7729
  if (!processOk(process$1)) {
7730
- signalExit.exports = function () {};
7730
+ signalExit.exports = function () {
7731
+ return function () {}
7732
+ };
7731
7733
  } else {
7732
7734
  var assert = require$$5__default$1["default"];
7733
7735
  var signals = signals$1.exports;
@@ -7760,7 +7762,7 @@ if (!processOk(process$1)) {
7760
7762
  signalExit.exports = function (cb, opts) {
7761
7763
  /* istanbul ignore if */
7762
7764
  if (!processOk(commonjsGlobal.process)) {
7763
- return
7765
+ return function () {}
7764
7766
  }
7765
7767
  assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
7766
7768
 
@@ -10513,6 +10515,6 @@ async function updateConfig(project, codecovCfg, opts) {
10513
10515
  }
10514
10516
 
10515
10517
  exports.updateConfig = updateConfig;
10516
- // BUILD: Sun Jan 09 2022 16:10:12 GMT+0100 (Central European Standard Time)
10518
+ // BUILD: Sun Feb 06 2022 11:26:28 GMT+0100 (Central European Standard Time)
10517
10519
 
10518
10520
  //# sourceMappingURL=index.js.map