Skip to content

Commit

Permalink
update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc committed May 5, 2020
1 parent 87b66ae commit 47028c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/checker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
}

Expand Down

0 comments on commit 47028c4

Please sign in to comment.