@tryarcanist/cli 0.1.106 → 0.1.107
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/index.js +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3182,8 +3182,15 @@ function phaseLabel(phase) {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
function printActiveTemplateStatus(buildRequest) {
|
|
3184
3184
|
if (buildRequest.status === "completed") {
|
|
3185
|
-
|
|
3186
|
-
|
|
3185
|
+
if (buildRequest.providerArtifactRef && buildRequest.activeTemplateRef === buildRequest.providerArtifactRef) {
|
|
3186
|
+
console.log(`Active template updated to ${buildRequest.providerArtifactRef}.`);
|
|
3187
|
+
return;
|
|
3188
|
+
}
|
|
3189
|
+
if (buildRequest.activeTemplateRef) {
|
|
3190
|
+
console.log(`Build completed; active template remains ${buildRequest.activeTemplateRef}.`);
|
|
3191
|
+
return;
|
|
3192
|
+
}
|
|
3193
|
+
console.log("Build completed but is not active; sessions will use the previous sandbox or Arcanist default.");
|
|
3187
3194
|
return;
|
|
3188
3195
|
}
|
|
3189
3196
|
if (buildRequest.activeTemplateRef) {
|
|
@@ -3204,7 +3211,6 @@ function printTerminalBuildSummary(buildRequest) {
|
|
|
3204
3211
|
const template = buildRequest.providerArtifactRef ?? buildRequest.activeTemplateRef;
|
|
3205
3212
|
if (template) console.log(`Template: ${template}`);
|
|
3206
3213
|
console.log("Smoke: passed");
|
|
3207
|
-
console.log("Active: yes");
|
|
3208
3214
|
printActiveTemplateStatus(buildRequest);
|
|
3209
3215
|
return;
|
|
3210
3216
|
}
|