Skip to content

Commit

Permalink
Use upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft committed Nov 7, 2022
1 parent 672e897 commit 0481dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtimes/runners/runWithDefaultShell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ async function* streamWithDefaultShell<TClient extends ClientIdentity, T>(
const client: TClient = await runtimeManager.getClient();

try {
const runner = await factory.getStreamingCommandRunner();
const generator = await runner(callback(client));
const runner = factory.getStreamingCommandRunner();
const generator = runner(callback(client));

for await (const element of generator) {
yield element;
Expand Down

0 comments on commit 0481dde

Please sign in to comment.