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, 14 insertions(+), 2 deletions(-)

changed files
M internal/importer/channel.gointernal/importer/channel.go
@@ -55,10 +55,22 @@ }
i.Logger.Debug("nix-build", "output", strings.TrimSpace(string(out))) outPath := path.Join(dest, i.Source.OutputPath) - i.Logger.Debug("checking output path", "outputPath", outPath, "dest", dest, "source", i.Source.OutputPath) + i.Logger.Debug( + "checking output path", + "outputPath", + outPath, + "dest", + dest, + "source", + i.Source.OutputPath, + ) after, err := os.Readlink(dest) if err := file.NeedNotExist(err); err != nil { - return false, errors.WithMessagef(err, "failed to stat output file from nix-build, filename: %s", outPath) + return false, errors.WithMessagef( + err, + "failed to stat output file from nix-build, filename: %s", + outPath, + ) } i.Logger.Debug("stat after", "name", after)