-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Describe the bug
Whilst looking at the SyncLink
function, I noticed there may be some duplicated code:
It looks like we already get the link and set it to up later in the function.
I didn't remove it at the time because I don't know if this is deliberate, or if it can just be removed. I also wonder if the check for whether or not the link exists a second time makes sense? How could it possibly not exist if we just created it? I wonder if this function should be reworked a bit to simply call itself again after the link is created rather than getting the link multiple times.
To Reproduce
N/A
Expected behavior
N/A
Screenshots
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels