Skip to content

Commit 51fed94

Browse files
author
Peter Steinberger
committed
fix(gateway): clear Windows probe lint
1 parent 6555dd1 commit 51fed94

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/windows-testbox-probe.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ jobs:
298298
if (-not [Environment]::UserInteractive) {
299299
throw "Native Scheduled Task proof requires an interactive Windows runner session."
300300
}
301+
exit 0
301302
302303
- name: Run native Scheduled Task lifecycle proof
303304
id: native_schtasks

‎src/gateway/server-methods/system-agent.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ function systemAgentLane() {
139139
return getCommandLaneSnapshot(CommandLane.SystemAgent);
140140
}
141141

142-
const waitOneTask = () => new Promise((resolve) => setTimeout(resolve, 0));
142+
const waitOneTask = () =>
143+
new Promise<void>((resolve) => {
144+
setTimeout(resolve, 0);
145+
});
143146

144147
const defaultClient = {
145148
connId: "conn-test",

0 commit comments

Comments
 (0)