From 47028c4971e3fe986f644edfb8a38a97159525ff Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Tue, 5 May 2020 15:00:23 +0100 Subject: [PATCH] update logging --- cmd/checker/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/checker/main.go b/cmd/checker/main.go index 9f266106..c2867b0c 100644 --- a/cmd/checker/main.go +++ b/cmd/checker/main.go @@ -62,7 +62,6 @@ func showFiles(path string) { return } lastNpmVersion := npmVersions[len(npmVersions)-1] - util.Printf(ctx, "%s:\n", lastNpmVersion.Version) tarballDir := npm.DownloadTar(ctx, lastNpmVersion.Tarball) filesToCopy := pckg.NpmFilesFrom(tarballDir) @@ -73,7 +72,7 @@ func showFiles(path string) { } for _, file := range filesToCopy { - util.Printf(ctx, "%s\n", file.To) + util.Printf(ctx, "%s - %s\n", lastNpmVersion.Version, file.To) } }