1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00

Revert "logs for travis debugging"

This reverts commit c15e8c810818e3512e9992fd15a7ba3bb15e5837.
This commit is contained in:
Carlos Alexandro Becker 2017-04-15 14:00:58 -03:00
parent bf9f0e0b14
commit e48434e8e0
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -1,7 +1,6 @@
package git
import (
"fmt"
"io/ioutil"
"os"
"os/exec"
@ -82,9 +81,7 @@ func createAndChdir(t *testing.T) (current string, back func()) {
previous, err := os.Getwd()
assert.NoError(err)
assert.NoError(os.Chdir(folder))
fmt.Println("Changed dir to", folder)
return folder, func() {
assert.NoError(os.Chdir(previous))
fmt.Println("Changed dir to", previous)
}
}