Windows: Regression re-fix builder
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
4c1540c8d2
commit
9cd84e405d
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ func (b *Builder) download(srcURL string) (fi builder.FileInfo, err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
path := u.Path
|
||||
path := filepath.FromSlash(u.Path) // Ensure in platform semantics
|
||||
if strings.HasSuffix(path, string(os.PathSeparator)) {
|
||||
path = path[:len(path)-1]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue