all repos — searchix @ 3b379a13710cae2adc56131af1069e6fb92976b8

Search engine for NixOS, nix-darwin, home-manager and NUR users

style: reformat with golines and enforce on commit

Alan Pearce
commit

3b379a13710cae2adc56131af1069e6fb92976b8

parent

0986e8699e87addccbef43c0ce30a466988fed15

1 file changed, 4 insertions(+), 1 deletion(-)

changed files
M internal/importer/nixpkgs-channel.gointernal/importer/nixpkgs-channel.go
@@ -63,7 +63,10 @@
return true, nil } -func (i *NixpkgsChannelImporter) Import(parent context.Context, indexer *search.WriteIndex) (bool, error) { +func (i *NixpkgsChannelImporter) Import( + parent context.Context, + indexer *search.WriteIndex, +) (bool, error) { filename := path.Join(i.DataPath, filesToFetch["options"]) revFilename := path.Join(i.DataPath, filesToFetch["revision"]) bits, err := os.ReadFile(revFilename)