@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/esm/index.js CHANGED
@@ -7238,7 +7238,7 @@ function getChalk(options) {
7238
7238
  }
7239
7239
 
7240
7240
  function highlight(code, options = {}) {
7241
- if (shouldHighlight(options)) {
7241
+ if (code !== "" && shouldHighlight(options)) {
7242
7242
  const chalk = getChalk(options);
7243
7243
  const defs = getDefs$1(chalk);
7244
7244
  return highlightTokens(defs, code);
@@ -7710,7 +7710,9 @@ const processOk = function (process) {
7710
7710
  // some kind of non-node environment, just no-op
7711
7711
  /* istanbul ignore if */
7712
7712
  if (!processOk(process$1)) {
7713
- signalExit.exports = function () {};
7713
+ signalExit.exports = function () {
7714
+ return function () {}
7715
+ };
7714
7716
  } else {
7715
7717
  var assert = require$$5$1;
7716
7718
  var signals = signals$1.exports;
@@ -7743,7 +7745,7 @@ if (!processOk(process$1)) {
7743
7745
  signalExit.exports = function (cb, opts) {
7744
7746
  /* istanbul ignore if */
7745
7747
  if (!processOk(commonjsGlobal.process)) {
7746
- return
7748
+ return function () {}
7747
7749
  }
7748
7750
  assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
7749
7751
 
@@ -10496,6 +10498,6 @@ async function updateConfig(project, codecovCfg, opts) {
10496
10498
  }
10497
10499
 
10498
10500
  export { updateConfig };
10499
- // BUILD: Sun Jan 09 2022 16:10:12 GMT+0100 (Central European Standard Time)
10501
+ // BUILD: Sun Feb 06 2022 11:26:28 GMT+0100 (Central European Standard Time)
10500
10502
 
10501
10503
  //# sourceMappingURL=index.js.map