@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/cli/cli.js CHANGED
@@ -7256,7 +7256,7 @@ function getChalk(options) {
7256
7256
  }
7257
7257
 
7258
7258
  function highlight(code, options = {}) {
7259
- if (shouldHighlight(options)) {
7259
+ if (code !== "" && shouldHighlight(options)) {
7260
7260
  const chalk = getChalk(options);
7261
7261
  const defs = getDefs$1(chalk);
7262
7262
  return highlightTokens(defs, code);
@@ -7728,7 +7728,9 @@ const processOk = function (process) {
7728
7728
  // some kind of non-node environment, just no-op
7729
7729
  /* istanbul ignore if */
7730
7730
  if (!processOk(process$1)) {
7731
- signalExit.exports = function () {};
7731
+ signalExit.exports = function () {
7732
+ return function () {}
7733
+ };
7732
7734
  } else {
7733
7735
  var assert = require$$5__default$1["default"];
7734
7736
  var signals = signals$1.exports;
@@ -7761,7 +7763,7 @@ if (!processOk(process$1)) {
7761
7763
  signalExit.exports = function (cb, opts) {
7762
7764
  /* istanbul ignore if */
7763
7765
  if (!processOk(commonjsGlobal.process)) {
7764
- return
7766
+ return function () {}
7765
7767
  }
7766
7768
  assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
7767
7769
 
@@ -10581,6 +10583,6 @@ function updateCommand(opts) {
10581
10583
  * Source https://github.com/donmahallem/js-libs/tree/master/packages/lerna2codecov
10582
10584
  */
10583
10585
  void updateCommand().parseAsync(process.argv);
10584
- // BUILD: Sun Jan 09 2022 16:10:15 GMT+0100 (Central European Standard Time)
10586
+ // BUILD: Sun Feb 06 2022 11:26:31 GMT+0100 (Central European Standard Time)
10585
10587
 
10586
10588
  //# sourceMappingURL=cli.js.map