Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc committed May 5, 2020
1 parent 14c2c20 commit d341623
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/checker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func showFiles(path string) {
return
}
lastNpmVersion := npmVersions[len(npmVersions)-1]
util.Printf(ctx, "%s:\n", lastNpmVersion)
util.Printf(ctx, "%s:\n", lastNpmVersion.Version)

tarballDir := npm.DownloadTar(ctx, lastNpmVersion.Tarball)
filesToCopy := pckg.NpmFilesFrom(tarballDir)
Expand All @@ -69,7 +69,9 @@ func showFiles(path string) {
return
}

util.Printf(ctx, "%s\n", filesToCopy)
for _, file := range filesToCopy {
util.Printf(ctx, "%s\n", file.To)
}
}

func lintPackage(path string) {
Expand Down

0 comments on commit d341623

Please sign in to comment.