Skip to content

Commit 9638f7f

Browse files
committed
fix, linting, formatting
1 parent 5ea535d commit 9638f7f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/client/src/workflow-client.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,8 @@ export class WorkflowClient extends BaseClient {
12761276
internalOptions.backLink = response.link ?? undefined;
12771277
}
12781278
return {
1279-
runId: resp.runId,
1280-
eagerlyStarted: resp.eagerWorkflowTask != null,
1279+
runId: response.runId,
1280+
eagerlyStarted: response.eagerWorkflowTask != null,
12811281
};
12821282
} catch (err: any) {
12831283
if (err.code === grpcStatus.ALREADY_EXISTS) {
@@ -1646,6 +1646,7 @@ export class WorkflowClient extends BaseClient {
16461646
return decodeCountWorkflowExecutionsResponse(response);
16471647
}
16481648

1649+
// eslint-disable-next-line deprecation/deprecation
16491650
protected adaptInterceptors(): WorkflowClientInterceptors | WorkflowClientInterceptor[] {
16501651
if (typeof this.options.interceptors === 'object' && 'calls' in this.options.interceptors) {
16511652
// eslint-disable-next-line deprecation/deprecation

packages/core-bridge/src/worker.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -672,10 +672,8 @@ mod config {
672672
self.local_activity_task_slot_supplier
673673
.into_slot_supplier(&mut rbo),
674674
);
675-
tuner_holder.nexus_slot_options(
676-
self.nexus_task_slot_supplier
677-
.into_slot_supplier(&mut rbo)
678-
);
675+
tuner_holder
676+
.nexus_slot_options(self.nexus_task_slot_supplier.into_slot_supplier(&mut rbo));
679677
if let Some(rbo) = rbo {
680678
tuner_holder.resource_based_options(rbo);
681679
}

0 commit comments

Comments
 (0)