Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix heisenbug in set-default-repositories-type-to-sources - #3913

Merged
fregante merged 6 commits into
refined-github:mainfrom
cheap-glitch:fix-set-default-repositories-type-to-source
Jan 28, 2021
Merged

fregante merged 6 commits into
refined-github:mainfrom
cheap-glitch:fix-set-default-repositories-type-to-source

Conversation

@cheap-glitch

@cheap-glitch cheap-glitch commented Jan 25, 2021

Copy link
Copy Markdown
Contributor

Thanks for contributing! 馃崉

  1. LINKED ISSUES: Fixes set-default-repositories-type-to-sources: undefined is not an object (evaluating 'link.search')聽#3908

  2. TEST URLS: Update to next dom-chef聽#3904 > Go to "Commits" tab > Hover on your avatar

  3. SCREENSHOT: -

Changing the selector fixes this, but maybe it's better to check the return value of select() instead of applying the modification twice?

@fregante

Copy link
Copy Markdown
Member

It鈥檚 best to fix the logic by splitting the init function in 2

@yakov116 yakov116 changed the title Fix selector Fix set-default-repositories-type-to-sources selector Jan 25, 2021
Comment thread source/features/set-default-repositories-type-to-sources.tsx
@cheap-glitch cheap-glitch changed the title Fix set-default-repositories-type-to-sources selector Fix set-default-repositories-type-to-sources Jan 28, 2021
Comment thread source/features/set-default-repositories-type-to-sources.tsx Outdated
@yakov116 yakov116 added the bug label Jan 28, 2021
@fregante fregante changed the title Fix set-default-repositories-type-to-sources Fix occasional error in set-default-repositories-type-to-sources Jan 28, 2021
@fregante fregante changed the title Fix occasional error in set-default-repositories-type-to-sources Fix heisenbug in set-default-repositories-type-to-sources Jan 28, 2021
@fregante
fregante merged commit 8a603bc into refined-github:main Jan 28, 2021
@cheap-glitch
cheap-glitch deleted the fix-set-default-repositories-type-to-source branch January 29, 2021 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

set-default-repositories-type-to-sources: undefined is not an object (evaluating 'link.search')

3 participants