Go 1.14 compat

This commit is contained in:
Mislav Marohnić 2021-07-28 23:00:34 +02:00
parent 0d999ddaa1
commit bbd74f004f

View file

@ -214,7 +214,7 @@ func stubExtension(path string) error {
}
func stubLocalExtension(tempDir, path string) error {
extDir, err := os.MkdirTemp(tempDir, "local-ext")
extDir, err := ioutil.TempDir(tempDir, "local-ext")
if err != nil {
return err
}