forked from LaconicNetwork/kompose
chore: require go >=1.18, bump deps and get rid of replace directives (#1552)
This commit is contained in:
1 parent
d4001c92b2
commit
cb41c16bf4
10 files changed
+536
-363
No files matched your search
@@ -2,7 +2,6 @@ package testutils
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
"testing"
|
||||
@@ -15,7 +14,7 @@ func NewCommand(cmd string) *exec.Cmd {
|
||||
|
||||
// CreateLocalDirectory TODO: comment
|
||||
func CreateLocalDirectory(t *testing.T) string {
|
||||
dir, err := ioutil.TempDir(os.TempDir(), "kompose-test-")
|
||||
dir, err := os.MkdirTemp(os.TempDir(), "kompose-test-")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user