mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
chore: do not need to get output
This commit is contained in:
parent
8348301b3e
commit
58de70c29e
@ -25,7 +25,7 @@ func TestMain(m *testing.M) {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
keyring = fmt.Sprintf("/tmp/gorel_gpg_test.%d", rand.Int())
|
||||
fmt.Println("copying", originKeyring, "to", keyring)
|
||||
if _, err := exec.Command("cp", "-Rf", originKeyring, keyring).CombinedOutput(); err != nil {
|
||||
if err := exec.Command("cp", "-Rf", originKeyring, keyring).Run(); err != nil {
|
||||
fmt.Printf("failed to copy %s to %s: %s", originKeyring, keyring, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user