@vocoder/cli 0.1.26 → 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 +6 -1
- package/dist/bin.mjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
}
|