Mercurial > gemma
diff pkg/wfs/global.go @ 5710:37c8feeecb4d
Merged branch sr-v2 into default.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 20 Feb 2024 21:28:56 +0100 |
parents | 31973f6f5cca |
children |
line wrap: on
line diff
--- a/pkg/wfs/global.go Wed Feb 14 16:56:28 2024 +0100 +++ b/pkg/wfs/global.go Tue Feb 20 21:28:56 2024 +0100 @@ -17,7 +17,6 @@ "bufio" "fmt" "io" - "io/ioutil" "os" "os/exec" "path/filepath" @@ -131,7 +130,7 @@ } tmpDir := config.TmpDir() - dlDir, err := ioutil.TempDir(tmpDir, "wfs-downloads") + dlDir, err := os.MkdirTemp(tmpDir, "wfs-downloads") if err != nil { return err }