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:
parent
2dd00ae7a6
commit
8867356965
@ -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)
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user