File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17638,12 +17638,12 @@ async function run() {
17638
17638
}
17639
17639
17640
17640
function didTmateQuit() {
17641
- const tmateSocketPath = process.platform === "win32" ? "C:/ msys64/tmp/tmate.sock" : "/tmp/tmate.sock"
17641
+ const tmateSocketPath = process.platform === "win32" ? `${core.getInput("msys2-location") || "C:\\ msys64"} /tmp/tmate.sock` : "/tmp/tmate.sock"
17642
17642
return !external_fs_default().existsSync(tmateSocketPath)
17643
17643
}
17644
17644
17645
17645
function continueFileExists() {
17646
- const continuePath = process.platform === "win32" ? "C:/ msys64/continue" : "/continue"
17646
+ const continuePath = process.platform === "win32" ? `${core.getInput("msys2-location") || "C:\\ msys64"} /continue` : "/continue"
17647
17647
return external_fs_default().existsSync(continuePath) || external_fs_default().existsSync(external_path_default().join(process.env.GITHUB_WORKSPACE, "continue"))
17648
17648
}
17649
17649
Original file line number Diff line number Diff line change @@ -252,11 +252,11 @@ export async function run() {
252
252
}
253
253
254
254
function didTmateQuit ( ) {
255
- const tmateSocketPath = process . platform === "win32" ? "C:/ msys64/tmp/tmate.sock" : "/tmp/tmate.sock"
255
+ const tmateSocketPath = process . platform === "win32" ? ` ${ core . getInput ( "msys2-location" ) || "C:\\ msys64" } /tmp/tmate.sock` : "/tmp/tmate.sock"
256
256
return ! fs . existsSync ( tmateSocketPath )
257
257
}
258
258
259
259
function continueFileExists ( ) {
260
- const continuePath = process . platform === "win32" ? "C:/ msys64/continue" : "/continue"
260
+ const continuePath = process . platform === "win32" ? ` ${ core . getInput ( "msys2-location" ) || "C:\\ msys64" } /continue` : "/continue"
261
261
return fs . existsSync ( continuePath ) || fs . existsSync ( path . join ( process . env . GITHUB_WORKSPACE , "continue" ) )
262
262
}
You can’t perform that action at this time.
0 commit comments