Load cached images using VM path separators
parent
3e0faef9a5
commit
52cf7de475
|
@ -20,6 +20,7 @@ import (
|
|||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
|
@ -198,7 +199,7 @@ func LoadFromCacheBlocking(cmd bootstrapper.CommandRunner, src string) error {
|
|||
break
|
||||
}
|
||||
}
|
||||
dst := filepath.Join(tempLoadDir, filename)
|
||||
dst := path.Join(tempLoadDir, filename)
|
||||
f, err := assets.NewFileAsset(src, tempLoadDir, filename, "0777")
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "creating copyable file asset: %s", filename)
|
||||
|
|
Loading…
Reference in New Issue