Skip to content

Commit

Permalink
refactor: Satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
NeedleInAJayStack committed Jun 9, 2024
1 parent 7e89497 commit b47c3b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/GraphQL/Subscription/EventStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ open class EventStream<Element> {
-> ConcurrentEventStream<To>
{
let newStream = stream.mapStream(closure)
return ConcurrentEventStream<To>.init(newStream)
return ConcurrentEventStream<To>(newStream)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Tests/GraphQLTests/SubscriptionTests/SimplePubSub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import GraphQL
)
subscribers.append(subscriber)
}
return ConcurrentEventStream<T>.init(asyncStream)
return ConcurrentEventStream<T>(asyncStream)
}
}

Expand Down

0 comments on commit b47c3b6

Please sign in to comment.