Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed Aug 14, 2024
1 parent 82a8f3b commit 21a1430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langgraph/src/pregel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class Pregel<
constructor(fields: PregelInterface<Nn, Cc>) {
super(fields);

let streamMode = fields.streamMode;
let { streamMode } = fields;
if (streamMode != null && !Array.isArray(streamMode)) {
streamMode = [streamMode];
}
Expand Down

0 comments on commit 21a1430

Please sign in to comment.