From f0aca6bd8a7886e616b440b8b75705722ce0fcb1 Mon Sep 17 00:00:00 2001 From: edef Date: Mon, 13 Apr 2020 14:47:07 +0000 Subject: fix(nix/buildGo): Pass sane arguments to log.Fatalf Change-Id: Ie0f2c0a50d8c0618abf6dae2242155fdf1f98e2b Reviewed-on: https://cl.tvl.fyi/c/depot/+/121 Reviewed-by: tazjin --- nix/buildGo/external/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/buildGo') diff --git a/nix/buildGo/external/main.go b/nix/buildGo/external/main.go index 0bb9fc79ae92..b89fea732341 100644 --- a/nix/buildGo/external/main.go +++ b/nix/buildGo/external/main.go @@ -163,7 +163,7 @@ func main() { goDirs, err := findGoDirs(*source) if err != nil { - log.Fatalf("failed to walk source directory '%s': %s\n", source, err) + log.Fatalf("failed to walk source directory '%s': %s", *source, err) } all := []pkg{} -- cgit 1.4.1