Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Sep 12, 2023

We've changed this some time ago so that hub.getScope() always returns a scope, so we can actually update our code where we still check for the existence of scope.

Noticed this will looking at some other stuff, may safe some bytes & complexity!

@mydea mydea self-assigned this Sep 12, 2023
@mydea mydea changed the title ref: Avoid unecessary hub.getScope() checks ref: Avoid unnecessary hub.getScope() checks Sep 12, 2023
We've changed this some time ago so that `hub.getScope()` _always_ returns a scope, so we can actually update our code where we still check for the existence of scope.
@mydea mydea force-pushed the fn/avoid-scope-check branch from 3b161ae to 0ba628b Compare September 12, 2023 13:18
@mydea mydea enabled auto-merge (squash) September 12, 2023 13:18
@mydea mydea merged commit a7f5911 into develop Sep 12, 2023
@mydea mydea deleted the fn/avoid-scope-check branch September 12, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants