Skip to content

Commit

Permalink
fix: handle late stream configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed May 8, 2021
1 parent 47418c8 commit ae60868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/createRemoteStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const createRemoteStream = (

return {
emit: (message: string) => {
if (!streamConfiguration.enabled) {
if (!streamConfiguration || !streamConfiguration.enabled) {
return;
}

Expand Down

0 comments on commit ae60868

Please sign in to comment.