Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dee463

Browse files
fix: construct full path for workspaceLogPath instead of just filename (#554)
Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>Co-authored-by: ibetitsmike <203725896+ibetitsmike@users.noreply.github.com>
1 parent8a1ae26 commit8dee463

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/remote.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,14 @@ export class Remote {
609609
disposables.push(this.showNetworkUpdates(pid));
610610
if(logDir){
611611
constlogFiles=awaitfs.readdir(logDir);
612-
this.commands.workspaceLogPath=logFiles
612+
constlogFileName=logFiles
613613
.reverse()
614614
.find(
615615
(file)=>file===`${pid}.log`||file.endsWith(`-${pid}.log`),
616616
);
617+
this.commands.workspaceLogPath=logFileName
618+
?path.join(logDir,logFileName)
619+
:undefined;
617620
}else{
618621
this.commands.workspaceLogPath=undefined;
619622
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp