pi-spark 0.5.1 → 0.5.2
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/assets/screenshot.png
CHANGED
|
Binary file
|
|
@@ -23,7 +23,7 @@ export function renderError(theme: Theme, message: string): string {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
function renderLane(theme: Theme, label: string, percent: number | undefined): string {
|
|
26
|
-
const text = `${label} ${percent === undefined ? "?" : percent.toFixed(
|
|
26
|
+
const text = `${label} ${percent === undefined ? "?" : percent.toFixed(0)}%`;
|
|
27
27
|
|
|
28
28
|
if (percent && percent > 90) return theme.fg("error", text);
|
|
29
29
|
if (percent && percent > 70) return theme.fg("warning", text);
|