@vocoder/cli 0.1.25 → 0.1.27

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/bin.mjs CHANGED
@@ -658,7 +658,12 @@ var VocoderAPI = class {
658
658
  if (!response.ok) {
659
659
  return { exactMatch: null, existingApps: [], hasWholeRepoApp: false };
660
660
  }
661
- return await response.json();
661
+ const data = await response.json();
662
+ return {
663
+ exactMatch: data.exactMatch ?? null,
664
+ existingApps: data.existingApps ?? [],
665
+ hasWholeRepoApp: data.hasWholeRepoApp ?? false
666
+ };
662
667
  } catch {
663
668
  return { exactMatch: null, existingApps: [], hasWholeRepoApp: false };
664
669
  }
@@ -2769,6 +2774,7 @@ Translations won't run automatically until you grant access.
2769
2774
  return 1;
2770
2775
  }
2771
2776
  p5.log.error(`Error: ${error.message}`);
2777
+ p5.log.info(error.stack ?? "");
2772
2778
  } else {
2773
2779
  p5.log.error("Unknown setup error");
2774
2780
  }