@drisp/cli 0.5.20 → 0.5.21
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/athena-gateway.js +1 -1
- package/dist/cli.js +3 -3
- package/package.json +1 -1
package/dist/athena-gateway.js
CHANGED
|
@@ -2440,7 +2440,7 @@ var cachedVersion = null;
|
|
|
2440
2440
|
function readVersion() {
|
|
2441
2441
|
if (cachedVersion !== null) return cachedVersion;
|
|
2442
2442
|
try {
|
|
2443
|
-
const injected = "0.5.
|
|
2443
|
+
const injected = "0.5.21";
|
|
2444
2444
|
if (typeof injected === "string" && injected.length > 0) {
|
|
2445
2445
|
cachedVersion = injected;
|
|
2446
2446
|
return cachedVersion;
|
package/dist/cli.js
CHANGED
|
@@ -6258,7 +6258,7 @@ function renderSegments(segments, summary, width, theme, opTag, error = false) {
|
|
|
6258
6258
|
if (usedWidth >= width) break;
|
|
6259
6259
|
const remaining = width - usedWidth;
|
|
6260
6260
|
const normalizedText = normalizePathPrefix(seg.text);
|
|
6261
|
-
const text = normalizedText.length > remaining ? normalizedText
|
|
6261
|
+
const text = normalizedText.length > remaining ? fit(normalizedText, remaining) : normalizedText;
|
|
6262
6262
|
const styled = source_default.hex(roleColor(seg.role))(text);
|
|
6263
6263
|
result += shouldDim ? source_default.dim(styled) : styled;
|
|
6264
6264
|
usedWidth += text.length;
|
|
@@ -6500,7 +6500,7 @@ function lineParts({
|
|
|
6500
6500
|
const detail = formatDetails({
|
|
6501
6501
|
segments: detailSummaryInfo.segments,
|
|
6502
6502
|
summary: detailSummaryInfo.summary,
|
|
6503
|
-
outcome: entry.summaryOutcome,
|
|
6503
|
+
outcome: errorActive ? entry.summaryOutcome : void 0,
|
|
6504
6504
|
outcomeZero: entry.summaryOutcomeZero,
|
|
6505
6505
|
error: errorActive,
|
|
6506
6506
|
mode: "full",
|
|
@@ -12604,7 +12604,7 @@ var cachedVersion = null;
|
|
|
12604
12604
|
function readPackageVersion() {
|
|
12605
12605
|
if (cachedVersion !== null) return cachedVersion;
|
|
12606
12606
|
try {
|
|
12607
|
-
const injected = "0.5.
|
|
12607
|
+
const injected = "0.5.21";
|
|
12608
12608
|
if (typeof injected === "string" && injected.length > 0) {
|
|
12609
12609
|
cachedVersion = injected;
|
|
12610
12610
|
return cachedVersion;
|