From 0a0f8d1de1e08b2b18f42f09de4ab6d6317daa66 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 4 Oct 2024 09:59:21 -0500 Subject: [PATCH] use spinner for update summary --- pkgs/oizys-nim/src/oizys/github.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/oizys-nim/src/oizys/github.nim b/pkgs/oizys-nim/src/oizys/github.nim index 40651f8..786c06e 100644 --- a/pkgs/oizys-nim/src/oizys/github.nim +++ b/pkgs/oizys-nim/src/oizys/github.nim @@ -155,8 +155,9 @@ proc fetchUpdateSummaryFromUrl(url: string): string = reader.close() proc getUpdateSummary*(runId: int, host: string): string = - let url = getUpdateSummaryUrl(runId, host) - result = fetchUpdateSummaryFromUrl(url) + withSpinner("fetching update summary"): + let url = getUpdateSummaryUrl(runId, host) + result = fetchUpdateSummaryFromUrl(url) type GitRepo = object