Skip to content

Commit

Permalink
chore(saspy): fix onlog
Browse files Browse the repository at this point in the history
Signed-off-by: Shuguang Sun <[email protected]>
  • Loading branch information
ShuguangSun committed May 23, 2024
1 parent 8e23712 commit 3abea83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/src/connection/saspy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,12 @@ ${codeWithEnd}
line,
this._html5FileName,
);
this._onLogFn?.([{ type: "normal", line }]);

if (this._workDirectory) {
this._onExecutionLogFn?.([{ type: "normal", line }]);
} else {
this._onSessionLogFn?.([{ type: "normal", line }]);
}
}
});
};
Expand Down

0 comments on commit 3abea83

Please sign in to comment.