Skip to content

Commit d92097b

Browse files
committed
Manually concat paths because Join is unhappy
1 parent a317be1 commit d92097b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/winpty/embed_386.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ func writeBinaries() error {
3030
}
3131

3232
if err == nil {
33-
winptyDllName = path.Join(cacheDir, "\\temp\\", winptyDllName)
34-
winptyAgentName = path.Join(cacheDir, "\\temp\\", winptyAgentName)
33+
winptyDllName = cacheDir + "\\temp\\" + winptyDllName
34+
winptyAgentName = cacheDir + "\\temp\\" + winptyAgentName
3535
}
3636

3737
/*

pkg/winpty/embed_amd64.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ func writeBinaries() error {
2929
}
3030

3131
if err == nil {
32-
winptyDllName = path.Join(cacheDir, "\\temp\\", winptyDllName)
33-
winptyAgentName = path.Join(cacheDir, "\\temp\\", winptyAgentName)
32+
winptyDllName = cacheDir + "\\temp\\" + winptyDllName
33+
winptyAgentName = cacheDir + "\\temp\\" + winptyAgentName
3434
}
3535

3636
/*

0 commit comments

Comments
 (0)