1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: remove log

This commit is contained in:
Carlos Alexandro Becker 2018-11-11 12:12:48 -02:00 committed by Carlos Alexandro Becker
parent 2dd00ae7a6
commit 8867356965
2 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,6 @@ func (p Pipe) create(ctx *context.Context, binaries []artifact.Artifact) error {
return err
}
archivePath := filepath.Join(ctx.Config.Dist, folder+"."+format)
log.Info(archivePath)
p.lock.Lock()
if _, err := os.Stat(archivePath); !os.IsNotExist(err) {
return fmt.Errorf("archive named %s already exists. Check your archive name template", archivePath)

View File

@ -261,6 +261,7 @@ func TestRunPipeInvalidGlob(t *testing.T) {
})
assert.EqualError(t, Pipe{}.Run(ctx), `failed to find files to archive: globbing failed for pattern [x-]: file does not exist`)
}
func TestRunPipeWrap(t *testing.T) {
folder, back := testlib.Mktmp(t)
defer back()