@coana-tech/cli 13.18.7 → 13.18.9
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/cli.js +4 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -129836,7 +129836,7 @@ async function createAnalysisMetadata(subprojectPath, workspacePath, ecosystem,
|
|
|
129836
129836
|
logger.warn("Unable to create analysis metadata:", e.message);
|
|
129837
129837
|
}
|
|
129838
129838
|
}
|
|
129839
|
-
async function getBucketsForLastReport(subprojectPath, workspacePath, newReportId, apiKey) {
|
|
129839
|
+
async function getBucketsForLastReport(subprojectPath, workspacePath, ecosystem, newReportId, apiKey) {
|
|
129840
129840
|
if (!newReportId) return;
|
|
129841
129841
|
try {
|
|
129842
129842
|
return (await axios_default.get(coanaAPIUrls.GET_LATEST_BUCKETS, {
|
|
@@ -129844,9 +129844,10 @@ async function getBucketsForLastReport(subprojectPath, workspacePath, newReportI
|
|
|
129844
129844
|
"Content-Type": "application/json",
|
|
129845
129845
|
apiKey
|
|
129846
129846
|
},
|
|
129847
|
-
params: { newReportId, subprojectPath, workspacePath }
|
|
129847
|
+
params: { newReportId, subprojectPath, workspacePath, ecosystem }
|
|
129848
129848
|
})).data;
|
|
129849
129849
|
} catch (e) {
|
|
129850
|
+
if (e.response?.data?.message === "No successful report found") return;
|
|
129850
129851
|
sendWarningToDashboard(
|
|
129851
129852
|
"Unable to get latest buckets",
|
|
129852
129853
|
{ subprojectPath, workspacePath, newReportId },
|
|
@@ -189732,7 +189733,7 @@ var require_version = __commonJS({
|
|
|
189732
189733
|
"use strict";
|
|
189733
189734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
189734
189735
|
exports2.version = void 0;
|
|
189735
|
-
exports2.version = "13.18.
|
|
189736
|
+
exports2.version = "13.18.9";
|
|
189736
189737
|
}
|
|
189737
189738
|
});
|
|
189738
189739
|
|