@sjawhar/pi-legion-envoy 5.13.0 → 5.13.1
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/envoy.js +3 -4
- package/dist/legion.js +1 -1
- package/package.json +1 -1
package/dist/envoy.js
CHANGED
|
@@ -32850,12 +32850,11 @@ async function architectureGuidance(client, project, components) {
|
|
|
32850
32850
|
if (components.mode === "none" || components.ids.length > 0)
|
|
32851
32851
|
return;
|
|
32852
32852
|
try {
|
|
32853
|
-
await client.getArchitectureSource(project)
|
|
32854
|
-
return `Project ${project} has an architecture model, but this issue is not linked to any of its current components. ${architectureComponentsAction}`;
|
|
32855
|
-
} catch (error48) {
|
|
32856
|
-
if (error48 instanceof DispatchServiceError && error48.status === 404 && error48.code === "SOURCE_NOT_FOUND") {
|
|
32853
|
+
if (await client.getArchitectureSource(project) === null) {
|
|
32857
32854
|
return;
|
|
32858
32855
|
}
|
|
32856
|
+
return `Project ${project} has an architecture model, but this issue is not linked to any of its current components. ${architectureComponentsAction}`;
|
|
32857
|
+
} catch (error48) {
|
|
32859
32858
|
return `Could not check whether project ${project} has an architecture model: ${messageFor(error48)}. ${architectureComponentsAction}`;
|
|
32860
32859
|
}
|
|
32861
32860
|
}
|
package/dist/legion.js
CHANGED
|
@@ -16192,7 +16192,7 @@ import { logger } from "@oh-my-pi/pi-utils";
|
|
|
16192
16192
|
// package.json
|
|
16193
16193
|
var package_default = {
|
|
16194
16194
|
name: "@sjawhar/pi-legion-envoy",
|
|
16195
|
-
version: "5.13.
|
|
16195
|
+
version: "5.13.1",
|
|
16196
16196
|
type: "module",
|
|
16197
16197
|
omp: {
|
|
16198
16198
|
extensions: [
|