From 43fe431c3aff36d52a630ca670f9fc4ee161962f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 17 May 2024 15:47:53 +0200 Subject: fix: don't panic when re-indexing if fetcher did not update --- internal/fetcher/nixpkgs-channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fetcher/nixpkgs-channel.go') diff --git a/internal/fetcher/nixpkgs-channel.go b/internal/fetcher/nixpkgs-channel.go index aa1a09d..c135641 100644 --- a/internal/fetcher/nixpkgs-channel.go +++ b/internal/fetcher/nixpkgs-channel.go @@ -60,7 +60,7 @@ func (i *NixpkgsChannelFetcher) FetchIfNeeded( } // don't bother to issue requests for the later files if !updated { - return + break } } -- cgit 1.4.1