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:
parent
bf9f0e0b14
commit
e48434e8e0
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user